Synopsis

void mth_MakeVector(int ndim, double *p1, double *p2, double *r)

Purpose

Generate a vector from two points.

Description

The vector p1p2 will be computed and returned in r.

Input

ndim

Number of dimensions in vectors

p1

First point

p2

Second point

Output

r

Vector p1p2