warp.len#

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

Query the number of elements in a vector.

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

Query the number of elements in a quaternion.

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

Query the number of rows in a matrix.

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

Query the number of elements in a transformation.

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

Query the size of the first dimension in an array.

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

Query the number of rows in a tile.

warp.len(a: tuple) → int
  • Kernel

Query the number of elements in a tuple.