warp.lshift =========== .. currentmodule:: warp._src.lang .. function:: lshift(a: Int, b: Int) -> Int .. wp-function-tags:: :kernel: true :python: true :differentiable: false Compute ``a`` left-shifted by ``b`` bits. .. function:: lshift(a: Vector[Int, Any], b: Vector[Int, Any]) -> Vector[Int, Any] :noindex: .. wp-function-tags:: :kernel: true :python: true :differentiable: false Compute ``a`` left-shifted by ``b`` bits. Apply the operation element-wise to vectors. .. function:: lshift(a: Matrix[Int, Any, Any], b: Matrix[Int, Any, Any]) -> Matrix[Int, Any, Any] :noindex: .. wp-function-tags:: :kernel: true :python: false :differentiable: false Compute ``a`` left-shifted by ``b`` bits. Apply the operation element-wise to matrices.