Type Alias numpy::Complex32

source ·
pub type Complex32 = Complex<f32>;

Aliased Type§

struct Complex32 {
    pub re: f32,
    pub im: f32,
}

Fields§

§re: f32

Real portion of the complex number

§im: f32

Imaginary portion of the complex number

Trait Implementations§

source§

impl Element for Complex32

Complex type with f32 components which maps to numpy.csingle (numpy.complex64).

source§

const IS_COPY: bool = true

Flag that indicates whether this type is trivially copyable. Read more
source§

fn get_dtype_bound(py: Python<'_>) -> Bound<'_, PyArrayDescr>

Returns the associated type descriptor (“dtype”) for the given element type.
source§

fn get_dtype<'py>(py: Python<'py>) -> &'py PyArrayDescr

👎Deprecated since 0.21.0: This will be replaced by get_dtype_bound in the future.
Returns the associated type descriptor (“dtype”) for the given element type.