Using the C Math Library    

Sparse Matrix Functions

Elementary Sparse Matrices 
Function
Purpose
mlfSpdiags
Sparse matrix formed from diagonals.
mlfSpeye
Sparse identity matrix.
mlfSprand
Sparse uniformly distributed random matrix.
mlfSprandn
Sparse normally distributed random matrix.
mlfSprandsym
Sparse random symmetric matrix.

Full to Sparse Conversion 
Function
Purpose
mlfSpconvert
Import from sparse matrix external format.

 Working with NonZero Entries of Sparse Matrices
Function
Purpose
mlfNnz
Number of nonzero matrix elements.
mlfNonzeros
Nonzero matrix elements.
mlfNzmax
Amount of storage allocated for nonzero matrix elements.
mlfSpalloc
Allocate space for sparse matrix.
mlfSpfun
Apply function to nonzero matrix elements.
mlfSpones
Replace nonzero sparse matrix elements with ones.

Reordering Algorithms
Function
Purpose
mlfColmmd
Column minimum degree permutation.
mlfColperm
Column permutation.
mlfDmperm
Dulmage-Mendelsohn permutation.
mlfRandperm
Random permutation.
mlfSymmmd
Symmetric minimum degree permutation.
mlfSymrcm
Symmetric reverse Cuthill-McKee permutation.

 Linear Algebra
Function
Purpose
mlfCondest
1-norm condition number estimate.
mlfEigs
A few eigenvalues.
mlfNormest
Estimate the matrix 2-norm.
mlfSvds
A few singular values.

 Linear Equations (iterative methods)
Function
Purpose
mlfBicg
BiConjugate Gradients Method.
mlfBicgstab
BiConjugate Gradients Stabilized Method.
mlfCgs
Conjugate Gradients Squared Method.
mlfGmres
Generalized Minimum Residual Method.
mlfPcg
Preconditioned Conjugate Gradients Method.
mlfQmr
Quasi-Minimal Residual Method.

 Miscellaneous
Function
Purpose
mlfSpaugment
Form least squares augmented system.
mlfSpparms
Set parameters for sparse matrix routines.
mlfSymbfact
Symbolic factorization analysis.


 Structure Functions Array Access and Creation Library