Block Vector<T>.Add Scaled In Place Method
Adds a scaled vector to this instance.
Definition
Namespace: Extreme.Mathematics.LinearAlgebra
Assembly: Extreme.Numerics (in Extreme.Numerics.dll) Version: 8.1.23
C#
A reference to this vector.
Assembly: Extreme.Numerics (in Extreme.Numerics.dll) Version: 8.1.23
public override Vector<T> AddScaledInPlace(
T factor,
Vector<T> vector
)
Parameters
Return Value
Vector<T>A reference to this vector.
Remarks
Using this method is more efficient than evaluating the equivalent expression using overloaded operators. In the latter case, two intermediate vectors are created. This method doesn't create any intermediate vectors.
Exceptions
Argument | vector is null. |
Dimension | The length of vector does not equal the length of this instance. |
Component | An attempt is made to modify a component of a fixed BlockVector<T>. |