public class GenericMatrixOps extends Object
| Constructor and Description |
|---|
GenericMatrixOps() |
| Modifier and Type | Method and Description |
|---|---|
static void |
copy(Matrix64F from,
Matrix64F to) |
static boolean |
isEquivalent(Matrix64F a,
Matrix64F b,
double tol) |
static boolean |
isEquivalentTriangle(boolean upper,
Matrix64F a,
Matrix64F b,
double tol) |
static boolean |
isIdentity(Matrix64F 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(Matrix64F a,
double min,
double max,
Random rand) |
public static boolean isIdentity(Matrix64F 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,
Matrix64F a,
Matrix64F b,
double tol)
Copyright © 2013. All Rights Reserved.