Click or drag to resize

SparseMatrixBuilderTTryGetValue Method

Get the value at the specified row, column index pair.

Namespace: CenterSpace.NMath.Core
Assembly: NMath (in NMath.dll) Version: 7.4
Syntax
public bool TryGetValue(
	IntPair key,
	out T value
)

Parameters

key  IntPair
Key specifying the row, column indices of the the value.
value  T
When this method returns, contains the value associated with the specified row, column indices, if the key is found; otherwise, 0. This parameter is passed uninitialized.

Return Value

Boolean
true if a nonzero value was found.

Implements

IDictionaryTKey, TValueTryGetValue(TKey, TValue)
See Also