Package org.ejml.generic
Class GenericMatrixOps_F64
java.lang.Object
org.ejml.generic.GenericMatrixOps_F64
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic voidstatic booleanisEquivalent(DMatrix a, DMatrix b, double tol) static booleanisEquivalentTriangle(boolean upper, DMatrix a, DMatrix b, double tol) static booleanisIdentity(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
-
Constructor Details
-
GenericMatrixOps_F64
public GenericMatrixOps_F64()
-
-
Method Details
-
isEquivalent
-
isIdentity
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
-
copy
-
setRandom
-