Algs4Net Class Library Documentation
Algs4Net Class Library Documentation
Algs4Net
SparseVector Class
SparseVector Methods
Dot Method
Get Method
Magnitude Method
MainTest Method
Nnz Method
Plus Method
Put Method
Scale Method
ToString Method
SparseVector
Get 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#
Copy
public
double
Get
(
int
i
)
Parameters
i
Type:
System
Int32
the index
Return Value
Type:
Double
the value of the ith coordinate of this vector
Exceptions
Exception
Condition
IndexOutOfRangeException
unless i is between 0 and d-1
See Also
Reference
SparseVector Class
Algs4Net Namespace