warp.len#

warp.len(a: Vector[Any, Scalar]) int#
  • Kernel

Return the number of elements in a vector.

warp.len(a: Quaternion[Scalar]) int
  • Kernel

Return the number of elements in a quaternion.

warp.len(a: Matrix[Any, Any, Scalar]) int
  • Kernel

Return the number of rows in a matrix.

warp.len(a: Transformation[Float]) int
  • Kernel

Return the number of elements in a transformation.

warp.len(a: Array[Any]) int
  • Kernel

Return the size of the first dimension in an array.

warp.len(a: Tile[Any, tuple[int, ...]]) int
  • Kernel

Return the number of rows in a tile.

warp.len(a: tuple) int
  • Kernel

Return the number of elements in a tuple.