Additive ring
Vector space
Hilbert space (inner product)
Normed vector space
Norms and related results
squared 2-norm
L1 norm
Euclidean norm
Lp norm (p > 0)
infinity-norm
normalize w.r.t. p-norm (p finite)
Lp inner product (p > 0)
reciprocal
scale
FiniteDim : finite-dimensional objects
HasData : accessing inner data (do not export)
Sparse : sparse datastructures
Set : things that behave as sets (e.g. of which we can take the union and the intersection)
Sparse Vector
Create new sparse vector
Outer vector product
Sparse Matrix
multiply matrix by a scalar
Frobenius norm (sqrt of trace of M^T M)
Matrix metadata
Predicates
SpMatrix information
Non-zero elements in a row
Mandwidth bounds (min, max)
Sparse matrix builders
Diagonal matrix
Identity matrix
Create Super- or sub- diagonal matrix
Sub-matrices
Extract j'th column
Extract i'th row
Matrix stacking
Matrix element lookup
Misc. SpMatrix operations
sparsify : remove almost-0 elements (i.e. if |x| < eps)
Rounding operations (!!!)
Primitive algebra operations
Matrix action on a vector
Matrix-matrix product
Matrix-matrix product, sparsified
Sparsified matrix products
Predicates
Condition number
Householder transformation
Givens rotation matrix
QR decomposition
Eigenvalue algorithms
All eigenvalues using QR algorithm
One eigenvalue and corresponding eigenvector, using Rayleigh iteration
Householder vector (G & VL Alg. 5.1.1, function house)
SVD
LINEAR SOLVERS : solve A x = b
CGS
BiCSSTAB
LINEAR SOLVERS INTERFACE
Pretty printing of SpVector and SpMatrix
Pretty printer typeclass
Control primitives for bounded iteration with convergence check
Rounding operations
Random matrices and vectors
Misc. utilities
Bounds checking