AddMultiplicatedVector (FUN)ΒΆ
FUNCTION AddMultiplicatedVector : BOOL
This function will multiply the input vector \(v_{2} \in \mathbb{R}\) by a scalar \(a \in \mathbb{R}\) and will add this product to the input vector \(v_{1} \in \mathbb{R}\):
\[b = v_{1} + a \cdot v_{2}\]
- InOut:
Scope
Name
Type
Comment
Return
AddMultiplicatedVectorBOOLThe return value is not used.
Input
pv1POINTER TO Vector3d
Pointer to input vector \(v_{1} \in \mathbb{R}\)
pv2POINTER TO Vector3d
Pointer to input vector \(v_{2} \in \mathbb{R}\)
lrFactorLREALScalar multiplier \(a \in \mathbb{R}\)
pvPOINTER TO Vector3D
Pointer to result \(b\)