Class NormOps_ZDRM

java.lang.Object
org.ejml.dense.row.NormOps_ZDRM

public class NormOps_ZDRM extends Object
Operations for computing different types of norms.
  • Method Details

    • normF

      public static double normF(ZMatrixRMaj 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.