Block Vector<T>.Multiply In Place Method
Definition
Namespace: Numerics.NET.LinearAlgebra
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 by a given factor. |
Multiply | Multiplies a Vector<T> by a Matrix<T>. |
MultiplyInPlace(T)
Multiplies a vector by a given factor.
public override Vector<T> MultiplyInPlace(
T factor
)
Parameters
- factor T
- The factor to multiply the vector by.
Return Value
Vector<T>a reference to this vector.
Remarks
The structure of a band vector is fixed at the time of construction. The zero and unit elements cannot be modified. Multiplying a band vector with unit element by a constant different from 1 would require the unit element to change, which is not allowed. A ComponentReadOnlyException exception is thrown.
Exceptions
Component | The vector has a unit element and factor is not equal to 1. |