Complex.fromImaginary constructor
const
Complex.fromImaginary(
- double imaginary
Creates a complex with only the imaginary part.
The real part is set to 0.
Implementation
const Complex.fromImaginary(this.imaginary) : real = 0;