Sets the data elements of this vector indicated by the given Slice to the specified value.

Namespace:  CenterSpace.NMath.Core
Assembly:  NMath (in NMath.dll) Version: 5.1.0.0

Syntax

C#
public DoubleVector Set(
	Slice slice,
	double d
)
Visual Basic (Declaration)
Public Function Set ( _
	slice As Slice, _
	d As Double _
) As DoubleVector
Visual C++
public:
DoubleVector^ Set(
	Slice^ slice, 
	double d
)

Parameters

slice
Type: CenterSpace.NMath.Core..::.Slice
A view into the vector.
d
Type: System..::.Double
The new value.

Return Value

A reference to self.

See Also