public class GenericMatrixOps
extends java.lang.Object
| Constructor and Description |
|---|
GenericMatrixOps() |
| Modifier and Type | Method and Description |
|---|---|
static void |
copy(org.ejml.data.RealMatrix64F from,
org.ejml.data.RealMatrix64F to) |
static boolean |
isEquivalent(org.ejml.data.RealMatrix64F a,
org.ejml.data.RealMatrix64F b,
double tol) |
static boolean |
isEquivalentTriangle(boolean upper,
org.ejml.data.RealMatrix64F a,
org.ejml.data.RealMatrix64F b,
double tol) |
static boolean |
isIdentity(org.ejml.data.RealMatrix64F 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.RealMatrix64F a,
double min,
double max,
java.util.Random rand) |
public static boolean isEquivalent(org.ejml.data.RealMatrix64F a,
org.ejml.data.RealMatrix64F b,
double tol)
public static boolean isIdentity(org.ejml.data.RealMatrix64F a,
double tol)
a - Matrix being inspected.tol - How close to zero or one each element needs to be.public static boolean isEquivalentTriangle(boolean upper,
org.ejml.data.RealMatrix64F a,
org.ejml.data.RealMatrix64F b,
double tol)
public static void copy(org.ejml.data.RealMatrix64F from,
org.ejml.data.RealMatrix64F to)
public static void setRandom(org.ejml.data.RealMatrix64F a,
double min,
double max,
java.util.Random rand)