Hello

I'm trying to map a 3-D array using PDL::Transform->map
and get the following error.

perldl> $a = sequence(2,2,2)
perldl> $b = sequence(4,4,4)
perldl> $b = $a->map(t_identity,$b)
PDL: PDL::Ops::assgn(a,b): Parameter 'b'
PDL: Mismatched implicit thread dimension 2: should be 2, is 4
Caught at file (eval 324), line 4, pkg main

It works well for 2-D arrays and from the documentation I
understood that it is possible to use N-D datasets. Am I doing
something wrong?

Regards,
Miguel

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

Reply via email to