Physics::Lorentz - Package for 4-vectors and transformations
use Physics::Lorentz; my $rotation = Physics::Lorentz::Transformation->rotation_euler( $alpha, $beta, $gamma ); my $vector = Physics::Lorentz::Vector->new([$t, $x, $y, $z]); my $rotated = $rotation->apply($vector); # or: $rotated = $rotation * $vector; ...
This package mainly just loads Physics::Lorentz::Transformation and Physics::Lorentz::Vector. The whole of the Physics::Lorentz distribution is intended to help with dealing with 4-vectors and (Poincare) transformations in the associated vector space.
Physics::Lorentz
Vectors and transformations are implemented as PDL objects internally.
None.
PDL, Physics::Lorentz::Vector, Physics::Lorentz::Transformation
Steffen Müller, <smueller@cpan.org>
Copyright (C) 2006 by Steffen Müller
This library is free software; you can redistribute it and/or modify it under the same terms as Perl itself, either Perl version 5.6 or, at your option, any later version of Perl 5 you may have available.
1 POD Error
The following errors were encountered while parsing the POD:
Non-ASCII character seen before =encoding in 'Müller,'. Assuming UTF-8
To install Physics::Lorentz, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Physics::Lorentz
CPAN shell
perl -MCPAN -e shell install Physics::Lorentz
For more information on module installation, please visit the detailed CPAN module installation guide.