SubVector (FUN)ΒΆ

FUNCTION SubVector : BOOL

This function will subtract two input vectors \(v_{1}, v_{2} \in \mathbb{R^{3}}\) and store the result within vector \(v \in \mathbb{R^{3}}\):

\[v = v_{1}-v_{2}\]
InOut:

Scope

Name

Type

Comment

Return

SubVector

BOOL

The return value is not used.

Input

pv1

POINTER TO Vector3d

Pointer to input vector \(v_{1} \in \mathbb{R}\)

pv2

POINTER TO Vector3d

Pointer to input vector \(v_{2} \in \mathbb{R}\)

pv

POINTER TO Vector3D

Pointer to output vector \(v \in \mathbb{R}\)