Complex

Type Alias Complex 

Source
pub type Complex<T> = Complex<T>;
Expand description

A complex number (an alias for num_complex::Complex.

Aliased Type§

#[repr(C)]
pub struct Complex<T> { pub re: T, pub im: T, }

Fields§

§re: T

Real portion of the complex number

§im: T

Imaginary portion of the complex number

Trait Implementations§

Source§

impl HasArrayExt for Complex<f32>

Source§

fn product_one() -> <Self as HasAfEnum>::ProductOutType

The base value of a product operation.
Source§

fn zero_sum() -> <Self as HasAfEnum>::AggregateOutType

The base value of a sum operation.
Source§

fn zero_cmp() -> Self

The base value of a comparison (min or max).
Source§

impl HasArrayExt for Complex<f64>

Source§

fn product_one() -> <Self as HasAfEnum>::ProductOutType

The base value of a product operation.
Source§

fn zero_sum() -> <Self as HasAfEnum>::AggregateOutType

The base value of a sum operation.
Source§

fn zero_cmp() -> Self

The base value of a comparison (min or max).
Source§

impl Max for Complex<f32>

Source§

fn max(self, other: Self) -> Self

Source§

impl Max for Complex<f64>

Source§

fn max(self, other: Self) -> Self

Source§

impl Min for Complex<f32>

Source§

fn min(self, other: Self) -> Self

Source§

impl Min for Complex<f64>

Source§

fn min(self, other: Self) -> Self

Source§

impl Product for Complex<f32>

Source§

fn product(self, other: Self) -> Self

Source§

impl Product for Complex<f64>

Source§

fn product(self, other: Self) -> Self

Source§

impl Sum for Complex<f32>

Source§

fn sum(self, other: Self) -> Self

Source§

impl Sum for Complex<f64>

Source§

fn sum(self, other: Self) -> Self