Module nyx_space::utils

source ·
Expand description

Utility functions shared by different modules, and which may be useful to engineers.

Functions

  • Checks if the given matrix represents a stable linear system by examining its eigenvalues.
  • 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.
  • Capitalize the first letter of a string
  • Converts the input vector V from Cartesian coordinates to spherical coordinates Returns ρ, θ, φ where the range ρ is in the units of the input vector and the angles are in radians
  • Denormalize a value between -1.0 and 1.0
  • Checks if the provided 3x3 matrix is diagonal.
  • The Kronecker delta function
  • Returns the order of mangitude of the provided value
  • Normalize a value between -1.0 and 1.0
  • Returns the components of vector a orthogonal to b
  • Returns the projection of a onto b
  • Returns a rotation matrix for a rotation about the X axis.
  • Returns a rotation matrix for a rotation about the Y axis.
  • Returns a rotation matrix for a rotation about the Z axis.
  • Rotate a vector about a given axis
  • Computes the Root Sum Squared (RSS) state errors between two provided vectors.
  • Computes the Root Sum Squared (RSS) orbit errors in kilometers and kilometers per second.
  • Computes the Root Sum Squared (RSS) state errors in position and in velocity of two orbit vectors [P V].
  • Converts the input vector V from Cartesian coordinates to spherical coordinates Returns ρ, θ, φ where the range ρ is in the units of the input vector and the angles are in radians
  • Returns the skew-symmetric matrix (also known as the tilde matrix) corresponding to the provided 3D vector.
  • Returns the unit vector of the moved input vector