Class NativeRealFloatMatrix
java.lang.Object
org.episteme.core.mathematics.linearalgebra.matrices.GenericMatrix<Real>
org.episteme.nativ.mathematics.linearalgebra.matrices.NativeRealFloatMatrix
- All Implemented Interfaces:
Matrix<Real>, AbelianGroup<Matrix<Real>>, AbelianMonoid<Matrix<Real>>, Group<Matrix<Real>>, Magma<Matrix<Real>>, Monoid<Matrix<Real>>, Ring<Matrix<Real>>, Semiring<Matrix<Real>>, Set<Matrix<Real>>, Module<Matrix<Real>, Real>, NativeSegmentProxy
High-performance Real Float Matrix backed by a persistent native MemorySegment.
Implements
NativeSegmentProxy for zero-copy transfer to FFM-based BLAS backends.-
Field Summary
Fields inherited from class GenericMatrix
provider, ring, storage -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionarena()Returns the Arena managing the lifecycle of the segment.asBuffer()Provides a view of the native memory as a FloatBuffer for legacy interop if needed.copy()static NativeRealFloatMatrixReturns a human-readable description of this set.booleanget(int row, int col) Returns the element at the specified row and column.segment()Returns the underlying native memory segment.voidMethods inherited from class GenericMatrix
add, cholesky, cols, contains, determinant, eigen, getColumn, getField, getProvider, getRow, getScalarRing, getStorage, getSubMatrix, inverse, lu, multiply, multiply, negate, one, qr, rows, scale, svd, trace, transpose, withProvider, zeroMethods inherited from class Object
clone, finalize, getClass, hashCode, notify, notifyAll, toString, 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
isAssociativeMethods inherited from interface NativeSegmentProxy
isAlive
-
Constructor Details
-
NativeRealFloatMatrix
-
-
Method Details
-
copyOf
-
get
-
set
- Overrides:
setin classGenericMatrix<Real>
-
segment
Description copied from interface:NativeSegmentProxyReturns the underlying native memory segment.- Specified by:
segmentin interfaceNativeSegmentProxy
-
arena
Description copied from interface:NativeSegmentProxyReturns the Arena managing the lifecycle of the segment.- Specified by:
arenain interfaceNativeSegmentProxy
-
asBuffer
Provides a view of the native memory as a FloatBuffer for legacy interop if needed. -
copy
-
description
Description copied from interface:SetReturns a human-readable description of this set.Examples:
- "â„ (Real Numbers)"
- "ℤ/12ℤ (Integers modulo 12)"
- "{1, 2, 3, 4, 5}"
- Specified by:
descriptionin interfaceSet<Matrix<Real>>- Overrides:
descriptionin classGenericMatrix<Real>- Returns:
- a description of this set
-
equals
-