# File numerics/src/tools/NumericsVector.h¶

Go to the source code of this file

Structure definition and functions related to vector storage in Numerics.

Functions

void NV_display(double *m, int n)

Screen display of the vector content stored as a double * array.

Parameters
• m: the vector to be displayed
• n: the size of the vector

bool NV_equal(double *x, double *y, int nRow, double tol)

Test if two vectors are equal up to a given tolerance.

Return
1 is equal
Parameters
• x: the vector to be tested
• y: the vector to be tested
• n: the size of the vector
• tol: the tolerance

void NV_write_in_file_python(double *m, int nRow, FILE *file)