Module nyx_space::utils [−][src]
Expand description
Utility functions shared by different modules, and which may be useful to engineers.
Functions
Returns whether this matrix represent a stable linear system looking at its eigen values. NOTE: This code is not super pretty on purpose to make it clear that we’re covering all of the cases
Returns the provided angle bounded between 0.0 and 360.0
Returns the provided angle bounded between -180.0 and +180.0
Returns the provided angle bounded between -x and +x
Returns whether the provided square matrix (3x3) is diagonal
The Kronecker delta function
Returns the order of mangitude of the provided value
Returns the components of vector a orthogonal to b
Returns the projection of a onto b
Returns a rotation about the X axis. The angle must be provided in radians. WARNING: this is a COORDINATE SYSTEM rotation by x radians; this matrix, when applied to a vector, rotates the vector by -x radians, not x radians. Applying the matrix to a vector yields the vector’s representation relative to the rotated coordinate system. Source: https://naif.jpl.nasa.gov/pub/naif/toolkit_docs/C/cspice/eul2xf_c.html
Returns a rotation about the Y axis. The angle must be provided in radians. WARNING: this is a COORDINATE SYSTEM rotation by x radians; this matrix, when applied to a vector, rotates the vector by -x radians, not x radians. Applying the matrix to a vector yields the vector’s representation relative to the rotated coordinate system. Source: https://naif.jpl.nasa.gov/pub/naif/toolkit_docs/C/cspice/eul2xf_c.html
Returns a rotation about the Z axis. The angle must be provided in radians. WARNING: this is a COORDINATE SYSTEM rotation by x radians; this matrix, when applied to a vector, rotates the vector by -x radians, not x radians. Applying the matrix to a vector yields the vector’s representation relative to the rotated coordinate system. Source: https://naif.jpl.nasa.gov/pub/naif/toolkit_docs/C/cspice/eul2xf_c.html
Rotate a vector about a given axis
Computes the RSS state errors in two provided vectors
Returns the RSS orbit errors in kilometers and kilometers per second
Computes the RSS state errors in position and in velocity of two orbit vectors [P V]
Returns the tilde matrix from the provided Vector3.