Adds a value to the component at the specified location.
Namespace: Extreme.Mathematics.LinearAlgebra.Sparse
Assembly: Extreme.Numerics (in Extreme.Numerics)
Version: 2.1.7017.0
Syntax
| Visual Basic (Declaration) |
|---|
Public Overridable Sub AddAt ( _ row As Integer, _ column As Integer, _ value As Double _ ) |
| C# |
|---|
public virtual void AddAt ( int row, int column, double value ) |
| Visual C++ |
|---|
public: virtual void AddAt ( int row, int column, double value ) |
Parameters
- row
- System.Int32
The row of the component.
- column
- System.Int32
The column of the component.
- value
- System.Double
The value to be added to 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.