I don't think this is going to be a PDL answer, but maybe I'm wrong,
and even if I'm not wrong, this list might have some ideas which can
point me in the right direction.

I've been using PDL for quite a while, and it's been great to
manipulate large datasets with a few equations. Now I'd like to do the
opposite, I've got a relatively small dataset, and a large number of
equations that I'd like to use to manipulate against that dataset. For
example, (and this is not my real problem), lets say

#!/usr/bin/perl

my $a=1;
my $b=2;
my $c=3;

print "1\n" if($a+$b==6);
print "2\n" if($a+$c==6);
print "3\n" if($b+$c == 6);
print "4\n" if($a+$b+$c == 6);

In my real problem, I've got a few dozens of  variables  and tens of
thousands of equations to try out, while each one takes quite a short
amount of time, the overall program takes too long.

Any ideas about what I can do to speed up equation processing like this.

_______________________________________________
Perldl mailing list
[email protected]
http://mailman.jach.hawaii.edu/mailman/listinfo/perldl

Reply via email to