[][src]Module nyx_space::utils

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

Functions

between_0_360

Returns the provided angle bounded between 0.0 and 360.0

between_pm_180

Returns the provided angle bounded between -180.0 and +180.0

factorial
is_diagonal

Returns whether the provided square matrix (3x3) is diagonal

kronecker
perpv

Returns the components of vector a orthogonal to b

projv

Returns the projection of a onto b

r1

Returns a rotation about the X axis. The angle must be provided in radians.

r2

Returns a rotation about the Y axis. The angle must be provided in radians.

r3

Returns a rotation about the Z axis. The angle must be provided in radians.

rotv

Rotate a vector about a given axis

rss_state_errors

Computes the RSS state errors in position and in velocity

tilde_matrix

Returns the tilde matrix from the provided Vector3.