Uses of Interface
org.ejml.data.DMatrix
Packages that use DMatrix
Package
Description
-
Uses of DMatrix in org.ejml
Modifier and TypeMethodDescriptionstatic voidEjmlUnitTests.assertCountable(DMatrix A) Checks to see if every element in A is countable.static voidEjmlUnitTests.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 voidEjmlUnitTests.assertEqualsTrans(DMatrix A, DMatrix B, double tol) Checks to see if the transpose of B is equal to A and countable:static voidEjmlUnitTests.assertEqualsUncountable(DMatrix A, DMatrix B, double tol) Checks to see if each element in the matrix is within tolerance of each other:static voidEjmlUnitTests.assertRelativeEquals(DMatrix expected, DMatrix found, double tol) Assert equals with a relative error -
Uses of DMatrix in org.ejml.data
Subinterfaces of DMatrix in org.ejml.dataModifier and TypeInterfaceDescriptioninterfaceInterface which all fixed sized matrices must implementinterfaceHigh level interface for sparse matrices double types.Classes in org.ejml.data that implement DMatrixModifier and TypeClassDescriptionclassInterface for a row-major matrix that uses a single array internally.classFixed sized vector with 2 elements.classFixed sized 2 by DMatrix2x2 matrix.classFixed sized vector with 3 elements.classFixed sized 3 by DMatrix3x3 matrix.classFixed sized vector with 4 elements.classFixed sized 4 by DMatrix4x4 matrix.classFixed sized vector with 5 elements.classFixed sized 5 by DMatrix5x5 matrix.classFixed sized vector with 6 elements.classFixed sized 6 by DMatrix6x6 matrix.classA generic abstract class for matrices whose data is stored in a single 1D array of doubles.classA row-major block matrix declared on to one continuous array.classDMatrixRMaj is a row matrix with real elements that are 64-bit floats.classCompressed Column (CC) sparse matrix format.classA sparse matrix format that is designed to act as an intermediate step for other matrix types.Constructors in org.ejml.data with parameters of type DMatrixModifierConstructorDescriptionDMatrixRMaj(DMatrix mat) Creates a new DMatrixRMaj which contains the same information as the provided Matrix64F. -
Uses of DMatrix in org.ejml.dense.row
Methods in org.ejml.dense.row with parameters of type DMatrixModifier and TypeMethodDescriptionstatic voidExtract where the destination is reshaped to match the extracted regionstatic voidCommonOps_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 voidExtracts a submatrix from 'src' and inserts it in a submatrix in 'dst'.static voidInserts matrix 'src' into matrix 'dest' with the (0,0) of src at (row,col) in dest.static booleanMatrixFeatures_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
Methods in org.ejml.dense.row.factory with type parameters of type DMatrixModifier 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
Methods in org.ejml.dense.row.misc with parameters of type DMatrix -
Uses of DMatrix in org.ejml.generic
Methods in org.ejml.generic with parameters of type DMatrixModifier and TypeMethodDescriptionstatic voidstatic booleanGenericMatrixOps_F64.isEquivalent(DMatrix a, DMatrix b, double tol) static booleanGenericMatrixOps_F64.isEquivalentTriangle(boolean upper, DMatrix a, DMatrix b, double tol) static booleanGenericMatrixOps_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
Methods in org.ejml.ops with type parameters of type DMatrixModifier and TypeMethodDescriptionstatic <T extends DMatrix>
TReads a matrix in which has been encoded using a Column Space Value (CSV) file format.Methods in org.ejml.ops with parameters of type DMatrixModifier and TypeMethodDescriptionstatic voidConvertMatrixData.convert(BMatrixRMaj input, DMatrix output) Converts binary matrix into a DMatrix by setting all true to 1.0 and false to 0.0static voidstatic voidGeneric, but slow, conversion function.static voidstatic voidstatic DMatrixSparseTripletDConvertMatrixStruct.convert(DMatrix src, @Nullable DMatrixSparseTriplet dst, double tol) static voidGeneric, but slow, conversion function.static booleanChecks to see if each element in the two matrices are equal: aij == bijstatic booleanMatrixFeatures_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 voidMatrixIO.print(PrintStream out, DMatrix mat) static voidMatrixIO.print(PrintStream out, DMatrix mat, String format) Prints the matrix out in a text format.static voidMatrixIO.print(PrintStream out, DMatrix mat, String format, int row0, int row1, int col0, int col1) static voidMatrixIO.printFancy(PrintStream out, DMatrix mat, int length) static voidMatrixIO.printJava(PrintStream out, DMatrix mat, String format) static voidMatrixIO.printMatlab(PrintStream out, DMatrix mat) static voidMatrixIO.saveDenseCSV(DMatrix A, String fileName) Saves a matrix to disk using in a Column Space Value (CSV) format.