Click or drag to resize
SparseVectorGet Method
Returns the ith coordinate of this vector.

Namespace: Algs4Net
Assembly: Algs4Net (in Algs4Net.dll) Version: 1.0.0.0 (1.0.0.0)
Syntax
C#
public double Get(
	int i
)

Parameters

i
Type: SystemInt32
the index

Return Value

Type: Double
the value of the ith coordinate of this vector
Exceptions
ExceptionCondition
IndexOutOfRangeExceptionunless i is between 0 and d-1
See Also