Documentation fix for squaredNorm()

What does this implement/fix?

The documentation for squaredNorm() states that it returns

, for vectors, the squared l2 norm of *this, and for matrices the Frobenius norm.

For clarity, I believe this should be

, for vectors, the squared l2 norm of *this, and for matrices the squared Frobenius norm.

(emphasis added)

Compare with the documentation for norm(), which states

, for vectors, the l2 norm of *this, and for matrices the Frobenius norm.

Merge request reports

Loading