Physics::Unit::Vector
Objects of this class hold a physical vector.
This class has several subtypes, which depend on the dimensionality of the scalar used to hold the magnitude.
$v = new Physics::Unit::Vector('3m', '4m', '5mi');
given Scalars of the same type, $sx, $sy, and $sz:
$v = new Physics::Unit::Vector($sx, $sy, $sz);
Chris Maloney <Dude@chrismaloney.com>
Copyright 2002-2003 by Chris Maloney
This library is free software; you can redistribute it and/or modify it under the same terms as Perl itself.
To install Physics::Unit, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Physics::Unit
CPAN shell
perl -MCPAN -e shell install Physics::Unit
For more information on module installation, please visit the detailed CPAN module installation guide.