Uses of Interface
org.ejml.data.DMatrix
Package
Description
-
Uses of DMatrix in org.ejml
Modifier and TypeMethodDescriptionstatic void
EjmlUnitTests.assertCountable
(DMatrix A) Checks to see if every element in A is countable.static void
EjmlUnitTests.assertEquals
(DMatrix A, DMatrix B, double tol) Checks to see if each element in the matrices are within tolerance of each other and countable:static void
EjmlUnitTests.assertEqualsTrans
(DMatrix A, DMatrix B, double tol) Checks to see if the transpose of B is equal to A and countable:static void
EjmlUnitTests.assertEqualsUncountable
(DMatrix A, DMatrix B, double tol) Checks to see if each element in the matrix is within tolerance of each other:static void
EjmlUnitTests.assertRelativeEquals
(DMatrix expected, DMatrix found, double tol) Assert equals with a relative error -
Uses of DMatrix in org.ejml.data
Modifier and TypeInterfaceDescriptioninterface
Interface which all fixed sized matrices must implementinterface
High level interface for sparse matrices double types.Modifier and TypeClassDescriptionclass
Interface for a row-major matrix that uses a single array internally.class
Fixed sized vector with 2 elements.class
Fixed sized 2 by DMatrix2x2 matrix.class
Fixed sized vector with 3 elements.class
Fixed sized 3 by DMatrix3x3 matrix.class
Fixed sized vector with 4 elements.class
Fixed sized 4 by DMatrix4x4 matrix.class
Fixed sized vector with 5 elements.class
Fixed sized 5 by DMatrix5x5 matrix.class
Fixed sized vector with 6 elements.class
Fixed sized 6 by DMatrix6x6 matrix.class
A generic abstract class for matrices whose data is stored in a single 1D array of doubles.class
A row-major block matrix declared on to one continuous array.class
DMatrixRMaj is a row matrix with real elements that are 64-bit floats.class
Compressed Column (CC) sparse matrix format.class
A sparse matrix format that is designed to act as an intermediate step for other matrix types.ModifierConstructorDescriptionDMatrixRMaj
(DMatrix mat) Creates a new DMatrixRMaj which contains the same information as the provided Matrix64F. -
Uses of DMatrix in org.ejml.dense.row
Modifier and TypeMethodDescriptionstatic void
Extract where the destination is reshaped to match the extracted regionstatic void
CommonOps_DDRM.extract
(DMatrix src, int srcY0, int srcY1, int srcX0, int srcX1, DMatrix dst, int dstY0, int dstX0) Extracts a submatrix from 'src' and inserts it in a submatrix in 'dst'.static void
Extracts a submatrix from 'src' and inserts it in a submatrix in 'dst'.static void
Inserts matrix 'src' into matrix 'dest' with the (0,0) of src at (row,col) in dest.static boolean
MatrixFeatures_DDRM.isEqualsTriangle
(DMatrix a, DMatrix 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|. -
Uses of DMatrix in org.ejml.dense.row.factory
Modifier and TypeMethodDescriptionstatic <T extends DMatrix>
booleanDecompositionFactory_DDRM.decomposeSafe
(DecompositionInterface<T> decomp, T M) A simple convenience function that decomposes the matrix but automatically checks the input to make sure it is not being modified.static <T extends DMatrix>
booleanDecompositionFactory_MT_DDRM.decomposeSafe
(DecompositionInterface<T> decomp, T M) A simple convenience function that decomposes the matrix but automatically checks the input to make sure it is not being modified. -
Uses of DMatrix in org.ejml.dense.row.misc
-
Uses of DMatrix in org.ejml.generic
Modifier and TypeMethodDescriptionstatic void
static boolean
GenericMatrixOps_F64.isEquivalent
(DMatrix a, DMatrix b, double tol) static boolean
GenericMatrixOps_F64.isEquivalentTriangle
(boolean upper, DMatrix a, DMatrix b, double tol) static boolean
GenericMatrixOps_F64.isIdentity
(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
-
Uses of DMatrix in org.ejml.ops
Modifier and TypeMethodDescriptionstatic <T extends DMatrix>
TReads a matrix in which has been encoded using a Column Space Value (CSV) file format.Modifier and TypeMethodDescriptionstatic void
ConvertMatrixData.convert
(BMatrixRMaj input, DMatrix output) Converts binary matrix into a DMatrix by setting all true to 1.0 and false to 0.0static void
static void
Generic, but slow, conversion function.static void
static void
static DMatrixSparseTriplet
DConvertMatrixStruct.convert
(DMatrix src, @Nullable DMatrixSparseTriplet dst, double tol) static void
Generic, but slow, conversion function.static boolean
Checks to see if each element in the two matrices are equal: aij == bijstatic boolean
MatrixFeatures_D.isIdentical
(DMatrix a, DMatrix b, double tol) Checks to see if each corresponding element in the two matrices are within tolerance of each other or have the some symbolic meaning.static void
MatrixIO.print
(PrintStream out, DMatrix mat) static void
MatrixIO.print
(PrintStream out, DMatrix mat, String format) Prints the matrix out in a text format.static void
MatrixIO.print
(PrintStream out, DMatrix mat, String format, int row0, int row1, int col0, int col1) static void
MatrixIO.printFancy
(PrintStream out, DMatrix mat, int length) static void
MatrixIO.printJava
(PrintStream out, DMatrix mat, String format) static void
MatrixIO.printMatlab
(PrintStream out, DMatrix mat) static void
MatrixIO.saveDenseCSV
(DMatrix A, String fileName) Saves a matrix to disk using in a Column Space Value (CSV) format.