Class JSci.physics.relativity.RelativityMath
All Packages Class Hierarchy This Package Previous Next Index
Class JSci.physics.relativity.RelativityMath
java.lang.Object
|
+----JSci.physics.relativity.RelativityMath
- public final class RelativityMath
- extends Object
The relativity library.
This class cannot be subclassed or instantiated because all methods are static.
-
lorentzTransform(Particle, double)
- Performs the Lorentz Transformation on a particle.
-
lorentzTransform(QuantumParticle, double)
- Performs the Lorentz Transformation on a quantum particle.
-
multiply(ContraVector, CoVector)
- Returns the multiplication of a covariant vector by a contravariant vector.
lorentzTransform
public static void lorentzTransform(Particle p,
double relframevel)
- Performs the Lorentz Transformation on a particle.
- Parameters:
- p - particle to be transformed
- relframevel - the relative frame velocity
lorentzTransform
public static void lorentzTransform(QuantumParticle qp,
double relframevel)
- Performs the Lorentz Transformation on a quantum particle.
- Parameters:
- p - quantum particle to be transformed
- relframevel - the relative frame velocity
multiply
public static double multiply(ContraVector v,
CoVector cv)
- Returns the multiplication of a covariant vector by a contravariant vector.
- Parameters:
- v - a contravariant vector
- cv - a covariant vector
All Packages Class Hierarchy This Package Previous Next Index