warp.mul#

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

  • Differentiable

Multiply two values.

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

  • Differentiable

Multiply two values.

Scale a vector by a scalar.

warp.mul(
a: Scalar,
b: Vector[Scalar, Any],
) Vector[Scalar, Any]
  • 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[Scalar, Any, Any],
) Matrix[Scalar, Any, Any]
  • Kernel

  • Differentiable

Multiply two values.

Scale a matrix by a scalar.

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

  • Differentiable

Multiply two values.

Scale a matrix by a scalar.

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

  • Differentiable

Multiply two values.

Compute a matrix-vector product.

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

  • Differentiable

Multiply two values.

Compute a row-vector-by-matrix product.

warp.mul(
a: Matrix[Scalar, Any, Any],
b: Matrix[Scalar, Any, Any],
) Matrix[Scalar, Any, Any]
  • 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(
a: Tile[Any, tuple[int, ...]],
b: Tile[Any, tuple[int, ...]],
) Tile[Any, tuple[int, ...]]
  • Kernel

  • Differentiable

Element-wise multiplication of tiles.

warp.mul(
a: Tile[Any, tuple[int, ...]],
b: Any,
) Tile[Any, tuple[int, ...]]
  • 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.

warp.mul(
a: Any,
b: Tile[Any, tuple[int, ...]],
) Tile[Any, tuple[int, ...]]
  • 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.