Mag

Trait Mag 

Source
pub trait Mag<T>
where Self: MixedComplex,
{ // Required methods fn mag(&self) -> T; fn abs(&self) -> T; }

Required Methods§

Source

fn mag(&self) -> T

Magnitude of the complex number.

Source

fn abs(&self) -> T

Magnitude of the complex number.

Implementors§