IMSL C# Numerical Library

SparseMatrix.PlusEquals Method 

Adds a value to an element in the matrix.

public double PlusEquals(
   int iRow,
   int jColumn,
   double x
);

Parameters

iRow
An int specifying the row index of the element.
jColumn
An int specifying the column index of the element.
x
A double specifying the value to be added to the iRow-th and jColumn-th element.

Return Value

A double containing the updated value of the iRow-th and jColumn-th element, which equals its old value plus x.

See Also

SparseMatrix Class | Imsl.Math Namespace