/* matrixop.h - Definition of some basic  matrix operations
 *
 * Jerod Weinman
 * 21 May 2008
 */
#ifndef __MATRIXOP_H__
#define __MATRIXOP_H__

#include "matrix.h"

/* Matrix addition C = A + B
 *
 * Preconditions:
 *   Matrix parameters a,b and c all have the same dimension
 *
 * Postconditions:
 *   The resulting matrix sum is stored in parameter c
 *   Return value of 0 indicates successful completion of the addition
 */
int mtxAdd( const struct matrix_t *a, const struct matrix_t *b, 
                  struct matrix_t *c );

#endif
