Synopsis
void mth_SubtractVector(int ndim, double *a, double *b, double *r)
Purpose
Subtract two vectors.
Description
The vectors b will be subtracted from a and the result stored in r. The vector size is specified by ndim.
Input
ndim
Number of dimensions in vectors
a
First vector
b
Second vector
Output
r
Resulting vector of a - b