Trapz ===== Alias for Trapezoid. **Abstract Signature:** ``Trapz(y: Tensor, x: Tensor, dx: float, dim: int = -1)`` .. raw:: html

PyTorch

API: torch.trapz
Strategy: Direct Mapping

JAX (Core)

API: jnp.trapz
Strategy: Direct Mapping

NumPy

API: np.trapz
Strategy: Direct Mapping