/ (Vector)

Divides a vector by a number.

Arguments

vector0
is the Vector to divide.
Real
number
is the divisor.

Return values

vector1
is the resulting Vector after division.

Complexity

O(dimension)

Example

"sl/algebra" useFile v1: (1.0 3.0 2.0) makeVector; v1 2.0 / .makeRange [print "," print] each
Output:
0.500000,1.500000,1.000000,