130 GenVector_Throw(
"LorentzRotation:Rectify(): Non-positive TT component - cannot rectify");
136 GenVector_Throw(
"LorentzRotation:Rectify(): Non-timelike time row - cannot rectify");
144 GenVector_Throw(
"LorentzRotation:Rectify(): Non-spacelike Z row projection - "
150 y =
y -
y.Dot(t)*t -
y.Dot(z)*z;
153 GenVector_Throw(
"LorentzRotation:Rectify(): Non-spacelike Y row projection - "
159 x =
x -
x.Dot(t)*t -
x.Dot(z)*z -
x.Dot(
y)*
y;
162 GenVector_Throw(
"LorentzRotation:Rectify(): Non-spacelike X row projection - "
218 r.GetComponents(
m,
m+16);
219 os <<
"\n" <<
m[0] <<
" " <<
m[1] <<
" " <<
m[2] <<
" " <<
m[3];
220 os <<
"\n" <<
m[4] <<
" " <<
m[5] <<
" " <<
m[6] <<
" " <<
m[7];
221 os <<
"\n" <<
m[8] <<
" " <<
m[9] <<
" " <<
m[10] <<
" " <<
m[11];
222 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).
Class describing a generic LorentzVector in the 4D space-time, using the specified coordinate system ...
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.
std::ostream & operator<<(std::ostream &os, const AxisAngle &a)
Stream Output and Input.
void GenVector_Throw(const char *)
function throwing exception, by creating internally a GenVector_exception only when needed