| SparseMatValueT Method (Int32, NullableInt64) |
Return pthe specified sparse matrix element if it exists; otherwise, default(T).
Namespace:
OpenCvSharp
Assembly:
OpenCvSharp (in OpenCvSharp.dll) Version: 1.0.0
Syntax public T Value<T>(
int i0,
Nullable<long> hashVal = null
)
where T : struct, new()
Public Function Value(Of T As {Structure, New}) (
i0 As Integer,
Optional hashVal As Nullable(Of Long) = Nothing
) As T
public:
generic<typename T>
where T : value class, gcnew()
T Value(
int i0,
Nullable<long long> hashVal = nullptr
)
member Value :
i0 : int *
?hashVal : Nullable<int64>
(* Defaults:
let _hashVal = defaultArg hashVal null
*)
-> 'T when 'T : struct, new()
Parameters
- i0
- Type: SystemInt32
Index along the dimension 0 - hashVal (Optional)
- Type: SystemNullableInt64
If hashVal is not null, the element hash value is not computed but hashval is taken instead.
Type Parameters
- T
[Missing <typeparam name="T"/> documentation for "M:OpenCvSharp.SparseMat.Value``1(System.Int32,System.Nullable{System.Int64})"]
Return Value
Type:
T[Missing <returns> documentation for "M:OpenCvSharp.SparseMat.Value``1(System.Int32,System.Nullable{System.Int64})"]
See Also