Warning: This is no longer the latest available version of this module. Please see the releases page for the most recent version. The Webnucleo group strongly recommends the use of the latest version of any of its online modules.
wn_matrix
wn_matrix is Webnucleo's matrix module, a collection of C routines for storing and working with sparse matrices. The elements of the matrix are stored in a hash that provides good memory management. Easy-to-use routines allow the user to create a matrix, add elements, access those elements, remove those elements, and destroy the matrix and free its allocated memory. Other routines in the module convert the matrix data from the native wn_matrix form to other common sparse matrix storage formats, namely, the compressed sparse row form or the Yale sparse matrix scheme. Finally, there are routines to perform basic matrix operations such as scaling of all elements, adding elements to the diagonal, and matrix-vector multiplication.
Please see the Technical Resources Overview link for more information and the Tutorials for a demonstration of how to download the module and how to compile and use the codes.