warp.len ======== .. function:: warp._src.lang.len(a: Vector[Scalar,Any]) -> int .. hlist:: :columns: 8 * Kernel Query the length of ``a``. :returns: The number of elements for vectors, quaternions, and transformations; the number of rows for matrices and tiles; or the size of the leading dimension for arrays. .. function:: warp._src.lang.len(a: Quaternion[Float]) -> int :noindex: .. hlist:: :columns: 8 * Kernel Query the length of ``a``. :returns: The number of elements for vectors, quaternions, and transformations; the number of rows for matrices and tiles; or the size of the leading dimension for arrays. .. function:: warp._src.lang.len(a: Matrix[Scalar,Any,Any]) -> int :noindex: .. hlist:: :columns: 8 * Kernel Query the length of ``a``. :returns: The number of elements for vectors, quaternions, and transformations; the number of rows for matrices and tiles; or the size of the leading dimension for arrays. .. function:: warp._src.lang.len(a: Transformation[Float]) -> int :noindex: .. hlist:: :columns: 8 * Kernel Query the length of ``a``. :returns: The number of elements for vectors, quaternions, and transformations; the number of rows for matrices and tiles; or the size of the leading dimension for arrays. .. function:: warp._src.lang.len(a: Array[Any]) -> int :noindex: .. hlist:: :columns: 8 * Kernel Query the length of ``a``. :returns: The number of elements for vectors, quaternions, and transformations; the number of rows for matrices and tiles; or the size of the leading dimension for arrays. .. function:: warp._src.lang.len(a: Tile[Any,tuple[int, ...]]) -> int :noindex: .. hlist:: :columns: 8 * Kernel Query the length of ``a``. :returns: The number of elements for vectors, quaternions, and transformations; the number of rows for matrices and tiles; or the size of the leading dimension for arrays. .. function:: warp._src.lang.len(a: tuple) -> int :noindex: .. hlist:: :columns: 8 * Kernel Query the length of ``a``. :returns: The number of elements for vectors, quaternions, and transformations; the number of rows for matrices and tiles; or the size of the leading dimension for arrays.