Expand description
Type-generic linear algebra operations
This module provides unified interfaces for linear algebra operations
that work with different numeric types (f32, f64, Complex
Structs§
- Generic
Eigen - Generic eigendecomposition result (complex for real matrices)
- GenericQR
- Generic QR decomposition result
- GenericSVD
- Generic SVD decomposition result
Traits§
- Linalg
Scalar - A trait that unifies numeric types suitable for linear algebra operations
- Precision
Selector - Precision trait for automatic precision selection
Functions§
- gdet
- Generic determinant calculation (only for real floats)
- geig
- Generic eigendecomposition (only for real floats, returns complex)
- gemm
- Generic matrix multiplication - wrapper using ndarray’s dot
- gemv
- Generic matrix-vector multiplication - wrapper using ndarray’s dot
- ginv
- Generic matrix inversion (only for real floats)
- gnorm
- Generic matrix norm (only for real floats)
- gqr
- Generic QR decomposition (only for real floats)
- gsolve
- Generic linear solve (only for real floats)
- gsvd
- Generic SVD decomposition (only for real floats)