MatrixMultiplyAdd(DVector, Double, DVector) Method
Transforms a vector and adds an offset.
Namespace: Austra.LibraryAssembly: Austra.Library (in Austra.Library.dll) Version: 2.5.0+44e7797405725ef3cf24b3ff0eba94ce6c649601
public DVector MultiplyAdd(
DVector v,
double scale,
DVector add
)
- v DVector
- Vector to transform.
- scale Double
- A scale factor for the vector to add.
- add DVector
- Vector to add.
DVectorthis * v + scale * add.
This method avoids allocating two temporary vectors.