Class GenericMatrixOps_F64

java.lang.Object
org.ejml.generic.GenericMatrixOps_F64

public class GenericMatrixOps_F64 extends Object
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    static void
    copy(org.ejml.data.DMatrix from, org.ejml.data.DMatrix to)
     
    static boolean
    isEquivalent(org.ejml.data.DMatrix a, org.ejml.data.DMatrix b, double tol)
     
    static boolean
    isEquivalentTriangle(boolean upper, org.ejml.data.DMatrix a, org.ejml.data.DMatrix b, double tol)
     
    static boolean
    isIdentity(org.ejml.data.DMatrix a, double tol)
    Returns true if the provided matrix is has a value of 1 along the diagonal elements and zero along all the other elements.
    static void
    setRandom(org.ejml.data.DMatrix a, double min, double max, Random rand)
     

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Constructor Details

    • GenericMatrixOps_F64

      public GenericMatrixOps_F64()
  • Method Details

    • isEquivalent

      public static boolean isEquivalent(org.ejml.data.DMatrix a, org.ejml.data.DMatrix b, double tol)
    • isIdentity

      public static boolean isIdentity(org.ejml.data.DMatrix a, double tol)
      Returns true if the provided matrix is has a value of 1 along the diagonal elements and zero along all the other elements.
      Parameters:
      a - Matrix being inspected.
      tol - How close to zero or one each element needs to be.
      Returns:
      If it is within tolerance to an identity matrix.
    • isEquivalentTriangle

      public static boolean isEquivalentTriangle(boolean upper, org.ejml.data.DMatrix a, org.ejml.data.DMatrix b, double tol)
    • copy

      public static void copy(org.ejml.data.DMatrix from, org.ejml.data.DMatrix to)
    • setRandom

      public static void setRandom(org.ejml.data.DMatrix a, double min, double max, Random rand)