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
Operations for computing different types of norms.
  • Method Details

    • normF

      public static float normF(CMatrixRMaj a)

      Computes the Frobenius matrix norm:

      normF = Sqrt{ ∑i=1:mj=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.