LightMat logo

LightMat C++  - Matrix class library

Location: http://www.ida.liu.se/~pelab/lightmat
Original authors: Dag Fritzson , Anders Gertz, Vadim Engelson,  Linköping university.
Currently supported by: Vadim Engelson , PELAB, Linköping University,
e-mail: vaden@ida.liu.se .

What is LightMat ?

LightMat is a portable C++ class library for  arithmetic operations on vectors, matrices,
3- and 4-dimensional arrays.
The library is specially optimized for vectors and matrices with dimensions 3 and 4 (i.e. 3x3 and 4x4).
The library is optimized to minimize or eliminate object creation overhead which is especially important for small objects.
Loops are unrolled whenever possible to provide better performance.
Data is stored on the stack when possible i.e. small objects, otherwise on the heap.
Arrays can be converted to strings and printed out.

What it is not ?

There is currently  no specific support for sparse matrices
There is no built-in  support for complicated linear algebra operations (LU-decompositions, eigenvalues, etc.), but external numerical routines from packages like BLAS and LAPACK can be called to operate directly on LightMat arrays, since LightMat uses the Fortran column-major storage format.

Distribution policy

LightMat is public domain software and can be freely distributed in the original form, provided that acknowledment of Linköping University is included.
If you successfully install and use this package in some project, please, send a note to vaden@ida.liu.se
Feedback, bug reports and contributions should be sent to vaden@ida.liu.se
LightMat is used in Beast and ObjectMath/MathCode projects.

Available platforms:

Non-available platforms: User manual (HTML). Read installation instructions there, examples and other notes.
Download  the latest version - LightMat 0.77 (TAR,GZIP) - for UNIX (162K)
Download  the latest version - LightMat 0.77 (ZIP) - for Win95/NT (234K)
Download directory is here.

Links

TNT - Template Numerical Toolkit (under construction), a tool similar to LightMat, supports sparse matrices and some algebraic operations. Is based on STL, Standard Template Library.


This page created 21/1/1998 by Vadim Engelson, vaden@ida.liu.se.
Changed 17/2/1998