Scales each element in the vector by the specified value.

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

Syntax

C#
public FloatVector Scale(
	float s
)
Visual Basic (Declaration)
Public Function Scale ( _
	s As Single _
) As FloatVector
Visual C++
public:
FloatVector^ Scale(
	float s
)

Parameters

s
Type: System..::.Single
Scale.

Return Value

This vector.

Remarks

Does not copy the data.

See Also