Interface SparseLinearAlgebraProvider<E>
- All Superinterfaces:
AlgorithmProvider, AutoCloseable, LinearAlgebraProvider<E>
- All Known Implementing Classes:
CPUSparseLinearAlgebraProvider, DistributedLinearAlgebraProvider, EpistemeLinearAlgebraBackend, GRPCLinearAlgebraBackend, NativeCUDASparseLinearAlgebraDoubleBackend, NativeCUDASparseLinearAlgebraFloatBackend, NativeMPFRSparseLinearAlgebraBackend, NativeOpenCLSparseLinearAlgebraDoubleBackend, NativeOpenCLSparseLinearAlgebraFloatBackend
Marker interface for Linear Algebra Providers specialized for Sparse Matrices.
This allows specialized discovery of sparse algorithms via AlgorithmManager.
- Since:
- 1.2
- Author:
- Silvere Martin-Michiellot, Gemini AI (Google DeepMind)
-
Method Summary
Modifier and TypeMethodDescriptionSolves Ax = b using BiCGSTAB (BiConjugate Gradient Stabilized) method.default EconditionNumber(Matrix<E> a) Returns the condition number of the matrix (L2 norm).Solves Ax = b using Conjugate Gradient method.Converts a dense matrix to its sparse representation.default StringReturns the unique category of the algorithm.Solves Ax = b using GMRES (Generalized Minimal Residual) method.default intReturns the rank of the matrix.Converts a sparse matrix to its dense representation.Methods inherited from interface AlgorithmProvider
description, getMetadata, isAvailable, shutdownMethods inherited from interface LinearAlgebraProvider
acos, acosh, add, add, angle, asin, asinh, atan, atanh, cbrt, cholesky, close, configure, conjugateTranspose, cos, cosh, cross, determinant, dot, eigen, exp, getEnvironmentInfo, getName, getPriority, inverse, isCompatible, log, log10, lu, multiply, multiply, multiply, norm, normalize, pow, projection, qr, scale, score, sin, sinh, solve, solve, solve, solve, solveTriangular, sqrt, subtract, subtract, svd, tan, tanh, trace, transpose
-
Method Details
-
getAlgorithmType
Description copied from interface:AlgorithmProviderReturns the unique category of the algorithm.- Specified by:
getAlgorithmTypein interfaceAlgorithmProvider- Specified by:
getAlgorithmTypein interfaceLinearAlgebraProvider<E>
-
bicgstab
-
conjugateGradient
-
gmres
-
toDense
-
fromDense
-
rank
Description copied from interface:LinearAlgebraProviderReturns the rank of the matrix.- Specified by:
rankin interfaceLinearAlgebraProvider<E>
-
conditionNumber
Description copied from interface:LinearAlgebraProviderReturns the condition number of the matrix (L2 norm).- Specified by:
conditionNumberin interfaceLinearAlgebraProvider<E>
-