pub type Complex32 = Complex<f32>;
Expand description
Alias for a 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
).
impl Element for Complex32
Complex type with f32
components which maps to numpy.csingle
(numpy.complex64
).
Source§const IS_COPY: bool = true
const IS_COPY: bool = true
Flag that indicates whether this type is trivially copyable. Read more
Source§fn get_dtype(py: Python<'_>) -> Bound<'_, PyArrayDescr>
fn get_dtype(py: Python<'_>) -> Bound<'_, PyArrayDescr>
Returns the associated type descriptor (“dtype”) for the given element type.
Source§fn clone_ref(&self, _py: Python<'_>) -> Complex32
fn clone_ref(&self, _py: Python<'_>) -> Complex32
Create a clone of the value while the GIL is guaranteed to be held.