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
AddMultiplicatedVector
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}\)
lrFactor
LREAL
Scalar multiplier \(a \in \mathbb{R}\)
pv
POINTER TO Vector3D
Pointer to result \(b\)