mirror of
https://github.com/nasa/trick.git
synced 2025-02-04 02:01:23 +00:00
14a75508a3
Changed all header file once include variables to follow the same naming convention and not start with any underscores. Also deleted old incorrect copyright notices. Also removed $Id: tags from all files. Fixes #14. Fixes #22.
22 lines
509 B
C
22 lines
509 B
C
/*
|
|
PURPOSE: (Matrix print)
|
|
|
|
ASSUMPTIONS AND LIMITATIONS: ((3x3 Matrix implementation))
|
|
|
|
PROGRAMMERS: (((Les Quiocho) (NASA/JSC) (Jan 1990) (v1.0) (Init Release))) */
|
|
|
|
#include <stdio.h>
|
|
#include "../include/trick_math.h"
|
|
|
|
void dm_print(double mat[3][3])
|
|
{ /* In: matrix to be printed */
|
|
int i, j;
|
|
|
|
for (i = 0; i < 3; i++) {
|
|
for (j = 0; j < 3; j++) {
|
|
fprintf(stderr, " %f ", mat[i][j]);
|
|
}
|
|
fprintf(stderr, "\n");
|
|
}
|
|
}
|