PolarΒΆ
Constructs a complex tensor from polar coordinates.
Abstract Signature:
Polar(abs: Tensor, angle: Tensor)
JAX (Core)
API:
βStrategy: Macro '{abs} * jax.numpy.exp(1j * {angle})'
NumPy
API:
βStrategy: Macro '{abs} * numpy.exp(1j * {angle})'
TensorFlow
API:
tf.complexStrategy: Macro 'tf.complex({abs} * tf.math.cos({angle}), {abs} * tf.math.sin({angle}))'
Apple MLX
API:
βStrategy: Macro '{abs} * mlx.core.exp(1j * {angle})'
Flax NNX
API:
βStrategy: Macro '{abs} * jax.numpy.exp(1j * {angle})'
PaxML / Praxis
API:
βStrategy: Macro '{abs} * jax.numpy.exp(1j * {angle})'