Skip to main content

mcomplex

Type Alias mcomplex 

Source
pub type mcomplex = 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 mcomplex { pub re: f64, pub im: f64, }

Fields§

§re: f64

Real part.

§im: f64

Imaginary part.