| SparseMatrixBuilderTTryGetValue Method |
Get the value at the specified row, column index pair.
Namespace: CenterSpace.NMath.CoreAssembly: NMath (in NMath.dll) Version: 7.4
Syntax public bool TryGetValue(
IntPair key,
out T value
)
Public Function TryGetValue (
key As IntPair,
<OutAttribute> ByRef value As T
) As Boolean
public:
virtual bool TryGetValue(
IntPair key,
[OutAttribute] T% value
) sealed
abstract TryGetValue :
key : IntPair *
value : 'T byref -> bool
override TryGetValue :
key : IntPair *
value : 'T byref -> bool
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
Booleantrue if a nonzero value was found.
Implements
IDictionaryTKey, TValueTryGetValue(TKey, TValue)See Also