Expand description
Native complex number type. Native complex number type for generic tensor operations.
Provides Complex<T> which implements Scalar so it can be used
directly as a tensor element type: Tensor<Complex<f64>>.
Structs§
- Complex
- A complex number with real and imaginary parts of type
T.
Functions§
- from_
interleaved - Convert interleaved real data
[re0, im0, re1, im1, ...]to aVec<Complex<T>>. - to_
interleaved - Convert a slice of
Complex<T>to interleaved real data[re0, im0, re1, im1, ...].