trick/trick_source/trick_utils/math/src/vec_print.c

23 lines
499 B
C
Raw Normal View History

/*
PURPOSE: (Vector print)
REFERENCE: ((See also: source file name))
PROGRAMMERS: (((Les Quiocho) (NASA/JSC) (Jan 1990) (v1.0) (Init Release)))
2015-02-26 15:02:31 +00:00
*/
#include <stdio.h>
#include "../include/trick_math.h"
void vec_print(double *vec, /* In: Matrix to be printed */
int n)
{ /* In: Array size */
int i;
for (i = 0; i < n; i++) {
fprintf(stderr, " %16.12f ", vec[i]);
fprintf(stderr, "\n");
}
return;
}