SparseVector<T>.ElementwiseMultiplyInPlace Method

Multiplies the components of this instance by the corresponding components of another vector.

Definition

Namespace: Numerics.NET.LinearAlgebra
Assembly: Numerics.NET (in Numerics.NET.dll) Version: 9.0.0
C#
public override Vector<T> ElementwiseMultiplyInPlace(
	Vector<T> vector
)

Parameters

vector  Vector<T>
A Vector<T>.

Return Value

Vector<T>
A reference to this instance.

Exceptions

ArgumentNullException

vector is null.

DimensionMismatchException

The length of vector does not equal the length of this instance.

See Also