| Modifier and Type | Interface and Description |
|---|---|
interface |
BidiagonalDecomposition<T extends Matrix64F>
Computes a matrix decomposition such that:
A = U*B*VT where A is m by n, U is orthogonal and m by m, B is an m by n bidiagonal matrix, V is orthogonal and n by n. |
| Modifier and Type | Interface and Description |
|---|---|
interface |
TridiagonalSimilarDecomposition<MatrixType extends Matrix64F>
Finds the decomposition of a matrix in the form of:
A = O*T*OT where A is a symmetric m by m matrix, O is an orthogonal matrix, and T is a tridiagonal matrix. |
| Modifier and Type | Class and Description |
|---|---|
class |
LinearSolverSafe<T extends Matrix64F>
Ensures that any linear solver it is wrapped around will never modify
the input matrices.
|
| Modifier and Type | Method and Description |
|---|---|
static void |
ImplCommonOps_Matrix64F.extract(Matrix64F src,
int srcY0,
int srcX0,
Matrix64F dst,
int dstY0,
int dstX0,
int numRows,
int numCols) |
| Modifier and Type | Method and Description |
|---|---|
static void |
GenericMatrixOps.copy(Matrix64F from,
Matrix64F to) |
static boolean |
GenericMatrixOps.isEquivalent(Matrix64F a,
Matrix64F b,
double tol) |
static boolean |
GenericMatrixOps.isEquivalentTriangle(boolean upper,
Matrix64F a,
Matrix64F b,
double tol) |
static boolean |
GenericMatrixOps.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 |
GenericMatrixOps.setRandom(Matrix64F a,
double min,
double max,
Random rand) |
| Modifier and Type | Class and Description |
|---|---|
class |
BlockMatrix64F
A row-major block matrix declared on to one continuous array.
|
class |
D1Matrix64F
A generic abstract class for matrices whose data is stored in a single 1D array of doubles.
|
class |
DenseMatrix64F
DenseMatrix64F is a dense matrix with elements that are 64-bit floats (doubles).
|
class |
RowD1Matrix64F
Interface for a row-major matrix that uses a single array internally.
|
| Modifier and Type | Method and Description |
|---|---|
abstract <T extends Matrix64F> |
Matrix64F.copy() |
| Modifier and Type | Method and Description |
|---|---|
void |
Matrix64F.set(Matrix64F A)
Assigns the value of 'this' matrix to be the same as 'A'.
|
| Constructor and Description |
|---|
DenseMatrix64F(Matrix64F mat)
Creates a new DenseMatrix64F which contains the same information as the provided Matrix64F.
|
MatrixIterator(Matrix64F a,
boolean rowMajor,
int minRow,
int minCol,
int maxRow,
int maxCol)
Creates a new iterator for traversing through a submatrix inside this matrix.
|
| Modifier and Type | Interface and Description |
|---|---|
interface |
CholeskyDecomposition<MatrixType extends Matrix64F>
Cholesky decomposition for
DenseMatrix64F. |
interface |
DecompositionInterface<T extends Matrix64F>
An interface for performing matrix decompositions on a
DenseMatrix64F. |
interface |
EigenDecomposition<MatrixType extends Matrix64F>
This is a generic interface for computing the eigenvalues and eigenvectors of a matrix.
|
interface |
LinearSolver<T extends Matrix64F>
An implementation of LinearSolver solves a linear system or inverts a matrix.
|
interface |
LUDecomposition<T extends Matrix64F>
LU Decomposition refactors the original matrix such that:
PT*L*U = A
where P is a pivot matrix, L is a lower triangular matrix, U is an upper triangular matrix and A is
the original matrix. |
interface |
QRDecomposition<T extends Matrix64F>
QR decompositions decompose a rectangular matrix 'A' such that 'A=QR'.
|
interface |
QRPDecomposition<T extends Matrix64F>
Similar to
QRDecomposition but it can handle the rank deficient case by
performing column pivots during the decomposition. |
interface |
SingularValueDecomposition<T extends Matrix64F>
This is an abstract class for computing the singular value decomposition (SVD) of a matrix, which is defined
as:
A = U * W * V T where A is m by n, and U and V are orthogonal matrices, and W is a diagonal matrix. |
| Modifier and Type | Method and Description |
|---|---|
static <T extends Matrix64F> |
DecompositionFactory.decomposeSafe(DecompositionInterface<T> decomp,
T M)
A simple convinience function that decomposes the matrix but automatically checks the input ti make
sure is not being modified.
|
| Modifier and Type | Method and Description |
|---|---|
static <T extends Matrix64F> |
MatrixIO.loadBin(String fileName)
Loads a DeneMatrix64F which has been saved to file using Java binary
serialization.
|
| Modifier and Type | Method and Description |
|---|---|
static void |
EjmlUnitTests.assertCountable(Matrix64F A)
Checks to see if every element in A is countable.
|
static void |
EjmlUnitTests.assertEquals(Matrix64F A,
Matrix64F B,
double tol)
Checks to see if each element in the matrices are within tolerance of each other and countable:
|
static void |
EjmlUnitTests.assertEqualsTrans(Matrix64F A,
Matrix64F B,
double tol)
Checks to see if the transpose of B is equal to A and countable:
|
static void |
EjmlUnitTests.assertEqualsUncountable(Matrix64F A,
Matrix64F B,
double tol)
Checks to see if each element in the matrix is within tolerance of each other:
|
static void |
EjmlUnitTests.assertShape(Matrix64F A,
int numRows,
int numCols)
Checks to see if the matrix has the specified number of rows and columns.
|
static void |
EjmlUnitTests.assertShape(Matrix64F A,
Matrix64F B)
Checks to see if A and B have the same shape.
|
static void |
CommonOps.extract(Matrix64F src,
int srcY0,
int srcY1,
int srcX0,
int srcX1,
Matrix64F dst,
int dstY0,
int dstX0)
Extracts a submatrix from 'src' and inserts it in a submatrix in 'dst'.
|
static void |
CommonOps.insert(Matrix64F src,
Matrix64F dest,
int destY0,
int destX0)
Inserts matrix 'src' into matrix 'dest' with the (0,0) of src at (row,col) in dest.
|
static boolean |
MatrixFeatures.isEqualsTriangle(Matrix64F a,
Matrix64F b,
boolean upper,
double tol)
Checks to see if each element in the upper or lower triangular portion of the two matrices are within tolerance of
each other: tol ≥ |aij - bij|.
|
static void |
MatrixIO.print(PrintStream out,
Matrix64F mat) |
static void |
MatrixIO.print(PrintStream out,
Matrix64F mat,
int numChar,
int precision) |
static void |
MatrixIO.print(PrintStream out,
Matrix64F mat,
String format) |
static void |
MatrixIO.print(PrintStream out,
Matrix64F mat,
String format,
int row0,
int row1,
int col0,
int col1) |
static void |
MatrixIO.saveBin(Matrix64F A,
String fileName)
Saves a matrix to disk using Java binary serialization.
|
static void |
MatrixIO.saveCSV(Matrix64F A,
String fileName)
Saves a matrix to disk using in a Column Space Value (CSV) format.
|
| Constructor and Description |
|---|
SimpleMatrix(Matrix64F orig)
Creates a new SimpleMatrix which is a copy of the Matrix64F.
|
Copyright © 2013. All Rights Reserved.