Adds a value to the component at the specified location.
Namespace: Extreme.Mathematics.Generic.LinearAlgebraAssembly: Extreme.Numerics.Net40 (in Extreme.Numerics.Net40.dll) Version: 6.0.16073.0 (6.0.17114.0)
public virtual void AddAt(
int row,
int column,
T value
)
Public Overridable Sub AddAt (
row As Integer,
column As Integer,
value As T
)
public:
virtual void AddAt(
int row,
int column,
T value
)
abstract AddAt :
row : int *
column : int *
value : 'T -> unit
override AddAt :
row : int *
column : int *
value : 'T -> unit
Parameters
- row
- Type: SystemInt32
The row of the component. - column
- Type: SystemInt32
The column of the component. - value
- Type: T
The value to be added to the component.
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.
Numerical Libraries
Supported in: 5.x
Reference