complex_recompose
#
- hypercoil.functional.utils.complex_recompose(ampl: Tensor, phase: Tensor) Tensor [source]#
Reconstitute a complex-valued tensor from real-valued tensors denoting its amplitude and its phase.
- Dimension:
Both inputs must be the same shape (or broadcastable). The output is the same shape as the inputs.
- Parameters:
- amplTensor
Real-valued array storing complex number amplitudes.
- phaseTensor
Real-valued array storing complex number phases in radians.
- Returns:
- complexTensor
Complex numbers formed from the specified amplitudes and phases.
See also