Crate easy_complex

Source
Expand description

easy-complex crate

Crate for easy to use complex numbers

Re-exports§

pub use self::angle::Angle;

Modules§

angle
Generates an Angle enum
convert
Conversion macros
display
Generates the display of the given struct
methods
Code generation macros
ops
Generates all the operations needed

Macros§

convert
This macro performs a conversion from any type that can cast into a float (either f32 or f64) and transforms it into a Either Complex or EComplex

Structs§

Complex
Complex number represented in rectangular coordinates
EComplex
EComplex number represented in exponential form

Enums§

Error

Type Aliases§

Complex32
Complex64
EComplex32
EComplex64