Expand description

Numbers GitHub Workflow Status

Example

Bellow an example of eulers identity is shown.

e^(i * pi) = -1

use levitate::*;

assert_eq!(
    im(std::f32::consts::PI).exp_().re,
    -1.
);

Thanks

Heavy inspiration has been taken from crates listed bellow.

Modules

Macros

numDeprecated

Structs

Traits

Functions

Same as unsafe{ Fast::new(f) }
Same as Complex{re: 0., im: f}
Same as Complex{re: f, im: 0.}