Sidereon.CCSDS.OPM.Covariance (Sidereon v3.0.0)

Copy Markdown View Source

Optional OPM 6x6 covariance, held exactly as read.

lower_triangle holds the 21 lower-triangle values in keyword order CX_X, CY_X, CY_Y, CZ_X, CZ_Y, CZ_Z, CX_DOT_X ... CZ_DOT_Z_DOT. No symmetry or definiteness check is applied, so a matrix that falls short of positive semidefinite only through the digits it is printed to is read. to_matrix/1 expands it to six symmetric rows.

Summary

Functions

The symmetric 6x6 matrix, as six six-element rows, that the 21 lower-triangle values state. The values are placed as read; nothing is validated.

Types

t()

@type t() :: %Sidereon.CCSDS.OPM.Covariance{
  comments: [String.t()],
  cov_ref_frame: String.t() | nil,
  lower_triangle: [float()]
}

Functions

to_matrix(covariance)

@spec to_matrix(t()) :: [[float()]]

The symmetric 6x6 matrix, as six six-element rows, that the 21 lower-triangle values state. The values are placed as read; nothing is validated.