warp.add ======== .. currentmodule:: warp._src.lang .. function:: add(a: Scalar, b: Scalar) -> Scalar .. wp-function-tags:: :kernel: true :python: true :differentiable: true Add ``a`` and ``b``. .. function:: add(a: Vector[Scalar, Any], b: Vector[Scalar, Any]) -> Vector[Scalar, Any] :noindex: .. wp-function-tags:: :kernel: true :python: true :differentiable: true Add ``a`` and ``b``. .. function:: add(a: Quaternion[Float], b: Quaternion[Float]) -> Quaternion[Float] :noindex: .. wp-function-tags:: :kernel: true :python: true :differentiable: true Add ``a`` and ``b``. .. function:: add(a: Matrix[Scalar, Any, Any], b: Matrix[Scalar, Any, Any]) -> Matrix[Scalar, Any, Any] :noindex: .. wp-function-tags:: :kernel: true :python: true :differentiable: true Add ``a`` and ``b``. .. function:: add(a: Transformation[Float], b: Transformation[Float]) -> Transformation[Float] :noindex: .. wp-function-tags:: :kernel: true :python: true :differentiable: true Add ``a`` and ``b``. .. function:: add(a: Tile[Any, tuple[int, ...]], b: Tile[Any, tuple[int, ...]]) -> Tile[Any, tuple[int, ...]] :noindex: .. wp-function-tags:: :kernel: true :python: false :differentiable: true Add ``a`` and ``b``.