Function tf2::covarianceNestedToRowMajor

Function Documentation

inline std::array<double, 36> tf2::covarianceNestedToRowMajor(const std::array<std::array<double, 6>, 6> &nested_array)

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

Parameters:

nested_array – A nested array representation of 6x6 covariance values.

Returns:

A row-major array of 36 covariance values.