131 "LorentzRotation:Rectify(): Non-positive TT component - cannot rectify");
138 "LorentzRotation:Rectify(): Non-timelike time row - cannot rectify");
147 "LorentzRotation:Rectify(): Non-spacelike Z row projection - "
153 y =
y -
y.Dot(t)*t -
y.Dot(z)*z;
157 "LorentzRotation:Rectify(): Non-spacelike Y row projection - "
163 x =
x -
x.Dot(t)*t -
x.Dot(z)*z -
x.Dot(
y)*
y;
167 "LorentzRotation:Rectify(): Non-spacelike X row projection - "
223 r.GetComponents(
m,
m+16);
224 os <<
"\n" <<
m[0] <<
" " <<
m[1] <<
" " <<
m[2] <<
" " <<
m[3];
225 os <<
"\n" <<
m[4] <<
" " <<
m[5] <<
" " <<
m[6] <<
" " <<
m[7];
226 os <<
"\n" <<
m[8] <<
" " <<
m[9] <<
" " <<
m[10] <<
" " <<
m[11];
227 os <<
"\n" <<
m[12] <<
" " <<
m[13] <<
" " <<
m[14] <<
" " <<
m[15] <<
"\n";
AxisAngle class describing rotation represented with direction axis (3D Vector) and an angle of rotat...
EulerAngles class describing rotation as three angles (Euler Angles).
Lorentz transformation class with the (4D) transformation represented by a 4x4 orthosymplectic matrix...
A4Vector operator*(const A4Vector &v) const
Overload operator * for rotation on a vector.
LorentzRotation Inverse() const
Return inverse of a rotation.
void Rectify()
Re-adjust components to eliminate small deviations from a perfect orthosyplectic matrix.
void Invert()
Invert a Lorentz rotation in place.
LorentzRotation()
Default constructor (identity transformation)
Rotation class with the (3D) rotation represented by a unit quaternion (u, i, j, k).
Rotation class with the (3D) rotation represented by a 3x3 orthogonal matrix.
Rotation class representing a 3D rotation about the X axis by the angle of rotation.
Rotation class representing a 3D rotation about the Y axis by the angle of rotation.
Rotation class representing a 3D rotation about the Z axis by the angle of rotation.
Namespace for new Math classes and functions.
void Throw(const char *)
function throwing exception, by creating internally a GenVector_exception only when needed
std::ostream & operator<<(std::ostream &os, const AxisAngle &a)
Stream Output and Input.
static constexpr double s
static constexpr double m2