ccomplex

Crates.ioccomplex
lib.rsccomplex
version0.1.0
sourcesrc
created_at2017-04-21 11:18:52.668757
updated_at2017-08-02 14:52:22.704919
descriptionEasy to use complex numbers
homepage
repositoryhttps://github.com/Malmz/ccomplex-rs
max_upload_size
id11422
size7,673
Calle Malmz (Malmz)

documentation

README

CComplex-rs

A easy to use library for complex numbers.

CComplex makes complex calculations easy to type.

extern crate ccomplex;
use ccomplex::iprimitive::I;

let z = 5.0 + I(4.0) / 5.0 - I(6.0) * 4.0;
println!("{}", z);

Prints: 5-23.2i

Commit count: 6

cargo fmt