MatrixMultiplyAdd(DVector, Double, DVector) Method |
Transforms a vector and adds an offset.
Namespace: Austra.LibraryAssembly: Austra.Library (in Austra.Library.dll) Version: 2.8.0+77a1ed58155f905ef6d88f42ae024582c7e1b4c3
Syntaxpublic DVector MultiplyAdd(
DVector v,
double scale,
DVector add
)
Parameters
- v DVector
- Vector to transform.
- scale Double
- A scale term for the vector to add.
- add DVector
- Vector to add.
Return Value
DVectorthis * v + scale * add.
Remarks
This method avoids allocating two temporary vectors.
See Also