ancomplex 0.0.5

Package provides easy to use, begginer frendly and python like complex numbers
Documentation
1
2
3
4
5
6
7
8
9
use crate::complexc::Complex;
use std::fmt::{self, Display};

/// Implement Fancy printing
impl<T: fmt::Debug + Clone> Display for Complex<T> {
    fn fmt(&self, f: &mut fmt::Formatter<'_>) -> fmt::Result {
        write!(f, "{:?}{:?}", self.real, self.imag)
    }
}