Christopher Maloney > Physics-Unit-0.04 > Physics::Unit::Vector

Download:
Physics-Unit-0.04.tar.gz

Dependencies

Annotate this POD

CPAN RT

Open  1
View/Report Bugs
Module Version: 0.04   Source   Latest Release: Physics-Unit-0.04_02

NAME ^

Physics::Unit::Vector

DESCRIPTION ^

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.

new() ^

  $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);

AUTHOR ^

Chris Maloney <Dude@chrismaloney.com>

COPYRIGHT AND LICENSE ^

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.

syntax highlighting: