pub fn init(re: T, im: T) Self
Create a new Complex number from the given real and imaginary parts.
re: T
im: T
38 39 40 41 42 43
pub fn init(re: T, im: T) Self { return Self{ .re = re, .im = im, }; }
Create a new Complex number from the given real and imaginary parts.