Function tf2::covarianceRowMajorToNested

Function Documentation

inline std::array<std::array<double, 6>, 6> tf2::covarianceRowMajorToNested(const std::array<double, 36> &row_major)

Function that converts from a row-major representation of a 6x6 covariance matrix to a nested array representation.

Parameters:

row_major – A row-major array of 36 covariance values.

Returns:

A nested array representation of 6x6 covariance values.