Qurak

UnitVector

Available

Generate a unit vector with a 1 at a specified position.

UnitVector[k]
UnitVector[n, k]
UnitVector[2] → {0, 1}

Topics

Related

All 6300 functions · Use this from an MCP client