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 FloatVector Set(
	Slice slice,
	float d
)
Visual Basic (Declaration)
Public Function Set ( _
	slice As Slice, _
	d As Single _
) As FloatVector
Visual C++
public:
FloatVector^ Set(
	Slice^ slice, 
	float d
)

Parameters

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

Return Value

A reference to self.

See Also