warp.mul#

warp.mul(a: Scalar, b: Scalar) Scalar#
  • Kernel

  • Differentiable

Multiply two values.

warp.mul(
a: Vector[Any, Scalar],
b: Scalar,
) Vector[Any, Scalar]
  • Kernel

  • Differentiable

Multiply two values.

Scale a vector by a scalar.

warp.mul(
a: Scalar,
b: Vector[Any, Scalar],
) Vector[Any, Scalar]
  • Kernel

  • Differentiable

Multiply two values.

Scale a vector by a scalar.

warp.mul(
a: Quaternion[Float],
b: Scalar,
) Quaternion[Float]
  • Kernel

  • Differentiable

Multiply two values.

Scale a quaternion by a scalar.

warp.mul(
a: Scalar,
b: Quaternion[Float],
) Quaternion[Float]
  • Kernel

  • Differentiable

Multiply two values.

Scale a quaternion by a scalar.

warp.mul(
a: Quaternion[Float],
b: Quaternion[Float],
) Quaternion[Float]
  • Kernel

  • Differentiable

Multiply two values.

Compute the Hamilton product of two quaternions.

warp.mul(
a: Scalar,
b: Matrix[Any, Any, Scalar],
) Matrix[Any, Any, Scalar]
  • Kernel

  • Differentiable

Multiply two values.

Scale a matrix by a scalar.

warp.mul(
a: Matrix[Any, Any, Scalar],
b: Scalar,
) Matrix[Any, Any, Scalar]
  • Kernel

  • Differentiable

Multiply two values.

Scale a matrix by a scalar.

warp.mul(
a: Matrix[Any, Any, Scalar],
b: Vector[Any, Scalar],
) Vector[Any, Scalar]
  • Kernel

  • Differentiable

Multiply two values.

Compute a matrix-vector product.

warp.mul(
a: Vector[Any, Scalar],
b: Matrix[Any, Any, Scalar],
) Vector[Any, Scalar]
  • Kernel

  • Differentiable

Multiply two values.

Compute a row-vector-by-matrix product.

warp.mul(
a: Matrix[Any, Any, Scalar],
b: Matrix[Any, Any, Scalar],
) Matrix[Any, Any, Scalar]
  • Kernel

  • Differentiable

Multiply two values.

Compute a matrix-matrix product.

warp.mul(
a: Transformation[Float],
b: Transformation[Float],
) Transformation[Float]
  • Kernel

  • Differentiable

Multiply two values.

Compose transformations (apply b then a).

warp.mul(
a: Scalar,
b: Transformation[Float],
) Transformation[Float]
  • Kernel

  • Differentiable

Multiply two values.

Scale a transformation by a scalar.

The result has an unnormalized quaternion.

warp.mul(
a: Transformation[Float],
b: Scalar,
) Transformation[Float]
  • Kernel

  • Differentiable

Multiply two values.

Scale a transformation by a scalar.

The result has an unnormalized quaternion.

warp.mul(
x: Tile[Any, tuple[int, ...]],
y: Any,
) Tile[Any, tuple[int, ...]]
  • Kernel

  • Differentiable

Multiply two values.

Scale each element of a tile by a scalar.

If the tile’s element type is not scalar, the constant must be a scalar type and vice versa. Underlying scalar types must match. Result dtype follows standard scalar multiplication rules.

warp.mul(
x: Any,
y: Tile[Any, tuple[int, ...]],
) Tile[Any, tuple[int, ...]]
  • Kernel

  • Differentiable

Multiply two values.

Scale each element of a tile by a scalar.

If the tile’s element type is not scalar, the constant must be a scalar type and vice versa. Underlying scalar types must match. Result dtype follows standard scalar multiplication rules.