Constructor | Description |
Full Usage:
SparseDoubleVector(n)
Parameters:
int
-
Length of the vector
|
![]() ![]() ![]() ![]() Constructs a sparse vector with all zeros
|
Full Usage:
SparseDoubleVector(items, indices, n)
Parameters:
float[]
-
The nonzero entries
indices : int[]
-
The locations of the nonzeros
n : int
-
Length of the vector
|
![]() ![]() ![]() ![]() Constructs a sparse vector with defined nonzero elements
|
Instance member | Description |
|
![]() ![]() ![]() ![]()
|
Full Usage:
this.Count
Returns: int
Modifiers: abstract |
![]() ![]() ![]() ![]() Length of the sparse vector
|
Full Usage:
this.[arg1]
Returns: int
The ith element of a sparse vector
Modifiers: abstract |
![]() ![]() ![]() ![]() Public accessor method
|
Full Usage:
this.Length
Returns: int
Modifiers: abstract |
![]() ![]() ![]() ![]() Length of the sparse vector
|