abstract Complex({real:Float, imag:Float})
package dsp
Complex number representation.
Static variables
Static methods
staticinlineconj(this:{real:Float, imag:Float}):Complex
Returns the complex conjugate, does not modify this object.
staticinlinefromReal(r:Float):Complex
Makes a Complex number with the given Float as its real part and a zero imag part.