Package org.ejml.dense.row
Class NormOps_CDRM
java.lang.Object
org.ejml.dense.row.NormOps_CDRM
@Generated("org.ejml.dense.row.NormOps_ZDRM") public class NormOps_CDRM extends Object
-
Constructor Summary
Constructors Constructor Description NormOps_CDRM() -
Method Summary
Modifier and Type Method Description static floatnormF(org.ejml.data.CMatrixRMaj a)Computes the Frobenius matrix norm:
normF = Sqrt{ ∑i=1:m ∑j=1:n { aij2} }
-
Constructor Details
-
NormOps_CDRM
public NormOps_CDRM()
-
-
Method Details
-
normF
public static float normF(org.ejml.data.CMatrixRMaj a)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.
-