Expand description
Linear algebra operations for sparse matrices
This module provides linear algebra operations for sparse matrices, including solvers, eigenvalue computations, and matrix functions.
Structs§
- BiCG
Options - Options for BiCG solver
- BiCGSTAB
Options - Options for BiCGSTAB solver
- CGOptions
- Options for conjugate gradient solver
- Diagonal
Operator - Diagonal operator: D * x where D is a diagonal matrix
- GMRES
Options - Options for GMRES solver
- IC0Preconditioner
- Incomplete Cholesky factorization preconditioner (IC(0))
- ILU0
Preconditioner - Incomplete LU factorization with zero fill-in (ILU(0))
- Identity
Operator - Identity operator: I * x = x
- Iteration
Result - Result of an iterative solver
- Jacobi
Preconditioner - Jacobi (diagonal) preconditioner
- LGMRES
Options - Options for the LGMRES solver
- LGMRES
Result - Result of the LGMRES solver
- MINRES
Options - Options for MINRES solver
- MINRES
Result - Result of MINRES solver
- QMROptions
- Options for QMR solver
- QMRResult
- Result of QMR solver
- SSOR
Preconditioner - Symmetric Successive Over-Relaxation (SSOR) preconditioner
- Scaled
Identity Operator - Scaled identity operator: (alpha * I) * x = alpha * x
- Spai
Options - Options for the SPAI preconditioner
- Spai
Preconditioner - Sparse Approximate Inverse (SPAI) preconditioner
Traits§
- AsLinear
Operator - Convert a sparse matrix to a linear operator
- Iterative
Solver - Trait for iterative solvers
- Linear
Operator - Trait for representing a linear operator
Functions§
- add
- Matrix addition
- bicg
- Biconjugate Gradient solver
- bicgstab
- BiConjugate Gradient Stabilized method
- cg
- Conjugate gradient solver for symmetric positive definite systems
- cgs
- Conjugate Gradient Squared solver (CGS)
- diag_
matrix - Create a diagonal matrix
- expm
- Compute the matrix exponential using scaling and squaring with Padé approximation
- expm_
multiply - Compute the action of the matrix exponential on a vector: y = exp(t*A) * v
- eye
- Create an identity matrix
- gmres
- Generalized Minimal Residual Method
- inv
- Matrix inverse
- lgmres
- Solve A*x = b using the LGMRES method
- matmul
- Matrix multiplication
- matrix_
power - Matrix power
- minres
- MINRES solver for symmetric indefinite systems
- multiply
- Element-wise multiplication (Hadamard product)
- norm
- Compute matrix norm
- onenormest
- Estimate the 1-norm of a sparse matrix using a randomized algorithm
- qmr
- QMR (Quasi-Minimal Residual) solver for non-symmetric systems
- sparse_
direct_ solve - Solve a sparse linear system using direct methods
- sparse_
lstsq - Solve a least squares problem
- spsolve
- Solve a sparse linear system Ax = b
Type Aliases§
- BiCGSTAB
Result - Result from BiCGSTAB solver
- CGSOptions
- Options for CGS solver
- CGSResult