Vector<T>.Multiply In Place Method
Definition
Namespace: Numerics.NET
Assembly: Numerics.NET (in Numerics.NET.dll) Version: 9.0.3
Assembly: Numerics.NET (in Numerics.NET.dll) Version: 9.0.3
Overload List
Multiply | Multiplies a vector in-place by the specified factor. |
Multiply | Multiplies a Vector<T> by a Matrix<T>. |
MultiplyInPlace(T)
Multiplies a vector in-place by the specified factor.
public virtual Vector<T> MultiplyInPlace(
T factor
)
Parameters
- factor T
- The factor to multiply the vector by.
Return Value
Vector<T>A reference to this vector.
MultiplyInPlace(Matrix<T>, MatrixOperationSide)
public virtual Vector<T> MultiplyInPlace(
Matrix<T> matrix,
MatrixOperationSide side
)
Parameters
- matrix Matrix<T>
- A Matrix<T>.
- side MatrixOperationSide
- A MatrixOperationSide value that indicates whether the matrix is the left or right operand of the multiplication.
Return Value
Vector<T>A reference to this instance.
Exceptions
Argument | matrix is null. |
Dimension | The number of rows or columns of matrix does not equal the length of this instance. -or- matrix is not a square matrix. |