SparseMatrix<T>.GetValue Method

Definition

Namespace: Numerics.NET.LinearAlgebra
Assembly: Numerics.NET (in Numerics.NET.dll) Version: 9.0.3

Overload List

GetValue(Int32, Int32) Gets the matrix component at the specified position.
GetValue<R, C>(R, C) Gets the value at the specified row and column keys.
Preliminary

GetValue(Int32, Int32)

Gets the matrix component at the specified position.
C#
public override sealed T GetValue(
	int row,
	int column
)

Parameters

row  Int32
The zero-based row index of the element to get or set.
column  Int32
The zero-based column index of the element to get or set.

Return Value

T
The component of the Matrix<T> in the columnth column of the rowth row.

Remarks

This method does not perform bounds checking. It is provided for optimized access in situations where the arguments are known to be within bounds. If either argument is outside its valid range, the result is unspecified.

See Also