pub type Complex32 = Complex<f32>;Expand description
Single 32-bit complex number — pair of f32 (real, imaginary). Layout matches
the WXF ComplexReal32 element wire format. No _Complex float typedef
exists in WolframLibrary.h, so this type is wolfram-expr-only.
Aliased Type§
#[repr(C)]pub struct Complex32 {
pub re: f32,
pub im: f32,
}Fields§
§re: f32Real part.
im: f32Imaginary part.
Trait Implementations§
Source§impl ArrayElement<NumericArrayEnum> for Complex32
impl ArrayElement<NumericArrayEnum> for Complex32
Source§const TAG: NumericArrayEnum = NumericArrayEnum::ComplexReal32
const TAG: NumericArrayEnum = NumericArrayEnum::ComplexReal32
The element-type tag for
Self under this array kind.Source§impl ArrayElement<PackedArrayEnum> for Complex32
impl ArrayElement<PackedArrayEnum> for Complex32
Source§const TAG: PackedArrayEnum = PackedArrayEnum::ComplexReal32
const TAG: PackedArrayEnum = PackedArrayEnum::ComplexReal32
The element-type tag for
Self under this array kind.