Sparse Matrix<T>.Sparse Get Value Method
Gets the matrix component at the specified position.
Definition
Namespace: Numerics.NET.LinearAlgebra
Assembly: Numerics.NET (in Numerics.NET.dll) Version: 9.0.3
C#
The component of the SparseMatrix<T> in the position specified by row and column.
Assembly: Numerics.NET (in Numerics.NET.dll) Version: 9.0.3
protected abstract T SparseGetValue(
int row,
int column
)
Parameters
- row Int32
- The zero-based row index of the element to get.
- column Int32
- The zero-based column index of the element to get.
Return Value
TThe component of the SparseMatrix<T> in the position specified by row and column.
Remarks
This method does not perform bounds checking. It is provided for optimized access in situations where the argument is known to be within bounds. If the argument is outside its valid range, the result may be unpredictable.