23 lines
551 B
C
Raw Normal View History

/*
PURPOSE: (Matrix print)
ASSUMPTIONS AND LIMITATIONS: ((Square Matrix))
PROGRAMMERS: (((Les Quiocho) (NASA/JSC) (Jan 1993) (v1.0) (Init Release))) */
2015-02-26 09:02:31 -06:00
#include <stdio.h>
#include "trick/trick_math.h"
2015-02-26 09:02:31 -06:00
void mat_print(double **mat, /* In: Matrix to be printed */
int n)
{ /* In: Array size */
int i, j;
for (i = 0; i < n; i++) {
for (j = 0; j < n; j++) {
fprintf(stderr, " %16.12f ", mat[i][j]);
}
fprintf(stderr, "\n");
}
return;
}