Class StandardLinearAlgebraProvider<E>
java.lang.Object
org.episteme.core.mathematics.linearalgebra.providers.CPUDenseLinearAlgebraProvider<E>
org.episteme.core.mathematics.linearalgebra.providers.StandardLinearAlgebraProvider<E>
- All Implemented Interfaces:
AutoCloseable, LinearAlgebraProvider<E>, AlgorithmProvider, Backend, ComputeBackend, CPUBackend
@AutoService(LinearAlgebraProvider.class)
public class StandardLinearAlgebraProvider<E>
extends CPUDenseLinearAlgebraProvider<E>
Linear Algebra Provider that forces the use of the Standard (Naive/Recursive) algorithm.
Intended for benchmarking and comparison purposes.
-
Field Summary
Fields inherited from class CPUDenseLinearAlgebraProvider
field -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionReturns a string describing the execution environment (e.g., "CPU (AVX2)", "GPU (CUDA 12.0)").getName()Returns the display name for UI presentation.intPriority of this provider (higher means more preferred).booleanChecks if the provider is available in the current environment.voidshutdown()Called when the provider is no longer needed (e.g., application shutdown).Computes the Singular Value Decomposition (SVD) of the specified matrix.Methods inherited from class CPUDenseLinearAlgebraProvider
acos, add, add, angle, asin, atan, cbrt, cholesky, cos, cosh, createBackend, createContext, cross, determinant, dot, eigen, exp, getId, getMetadata, inverse, isCompatible, log, log10, lu, multiply, norm, normalize, pow, projection, qr, score, sin, sinh, solve, solve, solve, solve, solveTriangular, sqrt, standardMultiply, subtract, subtract, tan, tanh, traceMethods inherited from class Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface AlgorithmProvider
descriptionMethods inherited from interface Backend
getAlgorithmProviders, getStatusMessage, isExplicitlyDisabledMethods inherited from interface ComputeBackend
getDescriptionMethods inherited from interface CPUBackend
getAcceleratorType, getType, supportsComplexNumbers, supportsFloatingPoint, supportsParallelOpsMethods inherited from interface LinearAlgebraProvider
acosh, asinh, atanh, close, conditionNumber, configure, conjugateTranspose, getAlgorithmType, rank
-
Constructor Details
-
StandardLinearAlgebraProvider
public StandardLinearAlgebraProvider()
-
-
Method Details
-
getEnvironmentInfo
Description copied from interface:LinearAlgebraProviderReturns a string describing the execution environment (e.g., "CPU (AVX2)", "GPU (CUDA 12.0)").- Specified by:
getEnvironmentInfoin interfaceLinearAlgebraProvider<E>- Overrides:
getEnvironmentInfoin classCPUDenseLinearAlgebraProvider<E>
-
getName
Description copied from interface:BackendReturns the display name for UI presentation.- Specified by:
getNamein interfaceAlgorithmProvider- Specified by:
getNamein interfaceBackend- Specified by:
getNamein interfaceLinearAlgebraProvider<E>- Overrides:
getNamein classCPUDenseLinearAlgebraProvider<E>
-
multiply
-
getPriority
public int getPriority()Description copied from interface:LinearAlgebraProviderPriority of this provider (higher means more preferred). Used for automatic backend selection.- Specified by:
getPriorityin interfaceAlgorithmProvider- Specified by:
getPriorityin interfaceBackend- Specified by:
getPriorityin interfaceLinearAlgebraProvider<E>- Overrides:
getPriorityin classCPUDenseLinearAlgebraProvider<E>
-
isAvailable
public boolean isAvailable()Description copied from interface:AlgorithmProviderChecks if the provider is available in the current environment.- Specified by:
isAvailablein interfaceAlgorithmProvider- Specified by:
isAvailablein interfaceBackend- Overrides:
isAvailablein classCPUDenseLinearAlgebraProvider<E>
-
scale
-
transpose
- Specified by:
transposein interfaceLinearAlgebraProvider<E>- Overrides:
transposein classCPUDenseLinearAlgebraProvider<E>
-
multiply
-
svd
Description copied from interface:LinearAlgebraProviderComputes the Singular Value Decomposition (SVD) of the specified matrix.- Specified by:
svdin interfaceLinearAlgebraProvider<E>- Overrides:
svdin classCPUDenseLinearAlgebraProvider<E>
-
shutdown
public void shutdown()Description copied from interface:AlgorithmProviderCalled when the provider is no longer needed (e.g., application shutdown). Use this to release local resources or close native segments.- Specified by:
shutdownin interfaceAlgorithmProvider- Specified by:
shutdownin interfaceBackend- Overrides:
shutdownin classCPUDenseLinearAlgebraProvider<E>
-