Complex.fromImaginary constructor
const
Complex.fromImaginary(
- double imaginary
Creates a complex number having only the imaginary part, meaning that the real part is set to 0.
Implementation
const Complex.fromImaginary(this.imaginary) : real = 0;