Click or drag to resize
SparseVectorPut Method
Sets the ith coordinate of this vector to the specified value.

Namespace: Algs4Net
Assembly: Algs4Net (in Algs4Net.dll) Version: 1.0.0.0 (1.0.0.0)
Syntax
C#
public void Put(
	int i,
	double value
)

Parameters

i
Type: SystemInt32
the index
value
Type: SystemDouble
the new value
Exceptions
ExceptionCondition
IndexOutOfRangeExceptionunless i is between 0 and d-1
See Also