SparseMatrix<T>.MultiplyAt Method

Multiplies the element at the specified location by a value.

Definition

Namespace: Numerics.NET.LinearAlgebra
Assembly: Numerics.NET (in Numerics.NET.dll) Version: 9.0.0
C#
public virtual void MultiplyAt(
	int row,
	int column,
	T value
)

Parameters

row  Int32
The row of the component.
column  Int32
The column of the component.
value  T
The multiplier.

Remarks

Looking up a component in a sparse matrix is a relatively expensive operation. It is therefore more efficient to get and set the value of a component in one function call that performs the lookup only once.

See Also