BlockVector<T>.MultiplyInPlace Method

Definition

Namespace: Extreme.Mathematics.LinearAlgebra
Assembly: Extreme.Numerics (in Extreme.Numerics.dll) Version: 8.1.23

Overload List

MultiplyInPlace(T) Multiplies a vector by a given factor.
MultiplyInPlace(Matrix<T>, MatrixOperationSide) Multiplies a Vector<T> by a Matrix<T>.

MultiplyInPlace(T)

Multiplies a vector by a given factor.
C#
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

ComponentReadOnlyException The vector has a unit element and factor is not equal to 1.

See Also