This has been discussed somewhat in relationship
to generalized coordinate system transformations.
It is possible to subclass PDL to implement
the features you desire.  See the PDL::Objects
for a start.

--Chris

On 2/3/2011 4:56 PM, Ivan Shmakov wrote:
>
>      4.  Conclusion
>
>       Now there, my question is: does it seem feasible to add semantic
>       information to the PDL dimensions?
>
>       The mere association of coordinate variables of a kind to the
>       dimensions of the PDL regular variables shouldn't be hard to
>       implement.  However, the necessity to maintain this information
>       throughout the computation may imply some extra burden to the
>       implementations of the PDL functions.
>
>       Also, there's a question on how should the behavior be altered
>       in presence of the semantically-tagged variables?  E. g., if the
>       only dimension of $a is time, and the only dimension of $b is
>       power, should $a + $b result in a variable having both of these
>       dimensions?  (IOW, should an implicit cross product be
>       computed?)
>
>       TIA.

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

Reply via email to