Imat Module

This module contains functions for doing matrix operations. A matrix can either 2D or 3D and will consist of 9 or 16 elements in a one-dimensional array.

The Imat structure

LIST FUNCTIONS FROM imat.c

The Imat structure is described by:

typedef struct imodel_matrix
{
     float *data;
     int   dim;   /* is 2D or 3D */
     int   size;
}Imat;

DESCRIBE FUNCTIONS FROM imat.c