Class DenseMatrix<E>
java.lang.Object
org.episteme.core.mathematics.linearalgebra.matrices.GenericMatrix<E>
org.episteme.core.mathematics.linearalgebra.matrices.DenseMatrix<E>
- All Implemented Interfaces:
Matrix<E>, AbelianGroup<Matrix<E>>, AbelianMonoid<Matrix<E>>, Group<Matrix<E>>, Magma<Matrix<E>>, Monoid<Matrix<E>>, Ring<Matrix<E>>, Semiring<Matrix<E>>, Set<Matrix<E>>, Module<Matrix<E>, E>
A dense matrix implementation.
Wrapper around GenericMatrix that enforces DenseMatrixStorage.
- Since:
- 1.0
- Author:
- Silvere Martin-Michiellot, Gemini AI (Google DeepMind)
-
Field Summary
Fields inherited from class GenericMatrix
provider, ring, storage -
Constructor Summary
ConstructorsConstructorDescriptionDenseMatrix(E[][] data, Ring<E> ring) Creates a DenseMatrix with automatic storage optimization.DenseMatrix(E[] flatData, int rows, int cols, LinearAlgebraProvider<E> provider, Ring<E> ring) DenseMatrix(E[] flatData, int rows, int cols, Ring<E> ring) Creates a DenseMatrix with automatic storage optimization.DenseMatrix(MatrixStorage<E> storage, LinearAlgebraProvider<E> provider, Ring<E> ring) DenseMatrix(MatrixStorage<E> storage, Ring<E> ring) -
Method Summary
Methods inherited from class GenericMatrix
add, cholesky, cols, contains, description, determinant, eigen, get, getColumn, getField, getProvider, getRow, getScalarRing, getStorage, getSubMatrix, inverse, lu, multiply, multiply, negate, one, qr, rows, scale, set, svd, trace, transpose, withProvider, zeroMethods inherited from class Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface AbelianGroup
negate, subtractMethods inherited from interface Matrix
add, identity, inverse, isCommutative, isEmpty, isMultiplicationCommutative, map, multiply, operate, scale, subtract, toTensorMethods inherited from interface Monoid
isAssociative
-
Constructor Details
-
DenseMatrix
-
DenseMatrix
-
DenseMatrix
public DenseMatrix(E[] flatData, int rows, int cols, LinearAlgebraProvider<E> provider, Ring<E> ring) -
DenseMatrix
-
DenseMatrix
-
DenseMatrix
-
-
Method Details
-
of
-
of
-
getRawData
-
toDoubleArray
public double[] toDoubleArray() -
toString
-