1 unstable release

Uses old Rust 2015

0.1.0 Apr 21, 2017

#672 in Science

MIT license

7KB
268 lines

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

No runtime deps