Skip to main content

Complex64

Type Alias Complex64 

Source
pub type Complex64 = Complex<f64>;
Expand description

Single 64-bit complex number — pair of f64 (real, imaginary).

Layout matches the C ABI _Complex double and the WXF ComplexReal64 element wire format. wolfram-library-link-sys::mcomplex is pub use’d as an alias for this type, so wll::NumericArray<sys::mcomplex> and wll::NumericArray<wolfram_expr::Complex64> are the same instantiation.

Aliased Type§

#[repr(C)]
pub struct Complex64 { pub re: f64, pub im: f64, }

Fields§

§re: f64

Real part.

§im: f64

Imaginary part.

Trait Implementations§

Source§

impl ArrayElement<NumericArrayEnum> for Complex64

Source§

const TAG: NumericArrayEnum = NumericArrayEnum::ComplexReal64

The element-type tag for Self under this array kind.
Source§

impl ArrayElement<PackedArrayEnum> for Complex64

Source§

const TAG: PackedArrayEnum = PackedArrayEnum::ComplexReal64

The element-type tag for Self under this array kind.