L2_magnitude#

inline float L2_magnitude(const Matrix33 &matrix)#

Computes the L2 magnitude (Frobenius norm) of a matrix.

Computes the square root of the sum of squares of all matrix elements

Parameters:

matrix[in] Matrix to compute magnitude for

Returns:

L2 magnitude of the matrix