pub type Complex64 = Complex<f64>;
Aliased Type§
struct Complex64 {
pub re: f64,
pub im: f64,
}
Fields§
§re: f64
Real portion of the complex number
im: f64
Imaginary portion of the complex number
Trait Implementations§
source§impl Element for Complex64
impl Element for Complex64
Complex type with f64
components which maps to numpy.cdouble
(numpy.complex128
).
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_bound(py: Python<'_>) -> Bound<'_, PyArrayDescr>
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
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.