Wiki
Clone wikisymja_android_library / Symbols / UnitVector
UnitVector
UnitVector(position)
- returns a 2D unit vector with element
1
at the givenposition
UnitVector(dimension, position)
- returns a unit vector with dimension
dimension
and an element1
at the givenposition
See:
Examples
>>> UnitVector(4,3)
{0,0,1,0}
Updated