SparseMatrix<T>.SubtractAt Method

Subtracts a value from the component at the specified location.

Definition

Namespace: Extreme.Mathematics.LinearAlgebra
Assembly: Extreme.Numerics (in Extreme.Numerics.dll) Version: 8.1.23
C#
public virtual void SubtractAt(
	int row,
	int column,
	T value
)

Parameters

row  Int32
The row of the component.
column  Int32
The column of the component.
value  T
The value to be subtracted from the component.

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