frobenius#
- DCM.frobenius#
Frobenius norm of the DCM.
The Frobenius norm of a matrix \(\mathbf{A}\) is defined as:
\[\|\mathbf{A}\|_F = \sqrt{\sum_{i=1}^m\sum_{j=1}^n|a_{ij}|^2}\]- Returns:
Frobenius norm of the DCM.
- Return type:
float
Examples
>>> R = DCM(rpy=[10.0, -20.0, 30.0]) >>> R.view() DCM([[ 0.92541658, -0.31879578, -0.20487413], [ 0.16317591, 0.82317294, -0.54383814], [ 0.34202014, 0.46984631, 0.81379768]]) >>> R.frobenius 1.7320508075688774