warp.mul ======== .. function:: warp._src.lang.mul(a: Scalar, b: Scalar) -> Scalar .. hlist:: :columns: 8 * Kernel * Differentiable Multiply two values. .. function:: warp._src.lang.mul(a: Vector[Scalar,Any], b: Scalar) -> Vector[Scalar,Any] :noindex: .. hlist:: :columns: 8 * Kernel * Differentiable Multiply two values. Scale a vector by a scalar. .. function:: warp._src.lang.mul(a: Scalar, b: Vector[Scalar,Any]) -> Vector[Scalar,Any] :noindex: .. hlist:: :columns: 8 * Kernel * Differentiable Multiply two values. Scale a vector by a scalar. .. function:: warp._src.lang.mul(a: Quaternion[Float], b: Scalar) -> Quaternion[Float] :noindex: .. hlist:: :columns: 8 * Kernel * Differentiable Multiply two values. Scale a quaternion by a scalar. .. function:: warp._src.lang.mul(a: Scalar, b: Quaternion[Float]) -> Quaternion[Float] :noindex: .. hlist:: :columns: 8 * Kernel * Differentiable Multiply two values. Scale a quaternion by a scalar. .. function:: warp._src.lang.mul(a: Quaternion[Float], b: Quaternion[Float]) -> Quaternion[Float] :noindex: .. hlist:: :columns: 8 * Kernel * Differentiable Multiply two values. Compute the Hamilton product of two quaternions. .. function:: warp._src.lang.mul(a: Scalar, b: Matrix[Scalar,Any,Any]) -> Matrix[Scalar,Any,Any] :noindex: .. hlist:: :columns: 8 * Kernel * Differentiable Multiply two values. Scale a matrix by a scalar. .. function:: warp._src.lang.mul(a: Matrix[Scalar,Any,Any], b: Scalar) -> Matrix[Scalar,Any,Any] :noindex: .. hlist:: :columns: 8 * Kernel * Differentiable Multiply two values. Scale a matrix by a scalar. .. function:: warp._src.lang.mul(a: Matrix[Scalar,Any,Any], b: Vector[Scalar,Any]) -> Vector[Scalar,Any] :noindex: .. hlist:: :columns: 8 * Kernel * Differentiable Multiply two values. Compute a matrix-vector product. .. function:: warp._src.lang.mul(a: Vector[Scalar,Any], b: Matrix[Scalar,Any,Any]) -> Vector[Scalar,Any] :noindex: .. hlist:: :columns: 8 * Kernel * Differentiable Multiply two values. Compute a row-vector-by-matrix product. .. function:: warp._src.lang.mul(a: Matrix[Scalar,Any,Any], b: Matrix[Scalar,Any,Any]) -> Matrix[Scalar,Any,Any] :noindex: .. hlist:: :columns: 8 * Kernel * Differentiable Multiply two values. Compute a matrix-matrix product. .. function:: warp._src.lang.mul(a: Transformation[Float], b: Transformation[Float]) -> Transformation[Float] :noindex: .. hlist:: :columns: 8 * Kernel * Differentiable Multiply two values. Compose transformations (apply ``b`` then ``a``). .. function:: warp._src.lang.mul(a: Scalar, b: Transformation[Float]) -> Transformation[Float] :noindex: .. hlist:: :columns: 8 * Kernel * Differentiable Multiply two values. Scale a transformation by a scalar. The result has an unnormalized quaternion. .. function:: warp._src.lang.mul(a: Transformation[Float], b: Scalar) -> Transformation[Float] :noindex: .. hlist:: :columns: 8 * Kernel * Differentiable Multiply two values. Scale a transformation by a scalar. The result has an unnormalized quaternion. .. function:: warp._src.lang.mul(a: Tile[Any,tuple[int, ...]], b: Tile[Any,tuple[int, ...]]) -> Tile[Any,tuple[int, ...]] :noindex: .. hlist:: :columns: 8 * Kernel * Differentiable Element-wise multiplication of tiles. .. function:: warp._src.lang.mul(a: Tile[Any,tuple[int, ...]], b: Any) -> Tile[Any,tuple[int, ...]] :noindex: .. hlist:: :columns: 8 * Kernel * Differentiable Multiply two values. Multiply each element of a tile by a constant (scalar, vector, or matrix). At least one of the tile's element type or the constant type must be scalar. Underlying scalar types must match. .. function:: warp._src.lang.mul(a: Any, b: Tile[Any,tuple[int, ...]]) -> Tile[Any,tuple[int, ...]] :noindex: .. hlist:: :columns: 8 * Kernel * Differentiable Multiply two values. Multiply each element of a tile by a constant (scalar, vector, or matrix). At least one of the tile's element type or the constant type must be scalar. Underlying scalar types must match.