Package org.ejml.dense.row
Class NormOps_CDRM
java.lang.Object
org.ejml.dense.row.NormOps_CDRM
Operations for computing different types of norms.
-
Method Summary
Modifier and TypeMethodDescriptionstatic float
normF
(CMatrixRMaj a) Computes the Frobenius matrix norm:
normF = Sqrt{ ∑i=1:m ∑j=1:n { aij2} }
-
Method Details
-
normF
Computes the Frobenius matrix norm:
normF = Sqrt{ ∑i=1:m ∑j=1:n { aij2} }This is equivalent to the element wise p=2 norm.
- Parameters:
a
- The matrix whose norm is computed. Not modified.- Returns:
- The norm's value.
-