UnitVector Command
From GeoGebra Manual
- UnitVector[Line]
- Yields the direction vector of the given line, with length 1 .
- UnitVector[Vector]
- Yields a vector with length 1, which has the same direction and orientation as the given vector.
- UnitVector[Segment]
- Yields the direction vector of the given segment, with length 1
CAS Specific Syntax
In CAS View only one syntax is allowed:
- UnitVector[Vector]
- Yields a vector with length 1, which has the same direction and orientation as the given vector.
- Example:
UnitVector[{2, 4, 4}]
returns {1/3, 2/3, 2/3}.