This package defines some basic matrix and vector manipulation routines.
mat.h - Header file.
mat.c - Code file.
No warranty, express or implied, should be assumed for these code fragments. They are for educational and demonstration purposes, and may contain major errors.
I build on the underlying C language arrays.
C stores arrays by row, and rows are stored contiguously.
These routines are not exactly the world's fastest... but they should be relatively easy to follow.
All routines do some error checking, and all return an error code. [Either NoError, or a specific problem.]
All routines return error codes as listed in the errors module (errors.h and errors.c)
This page is http://www.cc.utah.edu/~nahaj/cave/survey/code/c/mat.html
© Copyright 2000 by John Halleck, All Rights Reserved.
This snapshot was last modified on August 23rd, 2000