org.ejml.ops
Class CNormOps
- java.lang.Object
-
- org.ejml.ops.CNormOps
-
public class CNormOps extends java.lang.Object
-
-
Constructor Summary
Constructors Constructor and Description CNormOps()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method and Description static doublenormF(CDenseMatrix64F a)Computes the Frobenius matrix norm:
normF = Sqrt{ ∑i=1:m ∑j=1:n { aij2} }
-
-
-
Method Detail
-
normF
public static double normF(CDenseMatrix64F 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. See
#fastNormFfor another implementation that is faster, but more prone to underflow/overflow errors.- Parameters:
a- The matrix whose norm is computed. Not modified.- Returns:
- The norm's value.
-
-
DMelt 3.0 © DataMelt by jWork.ORG