Equations
- GaussInt.instZero = { zero := { re := 0, im := 0 } }
Equations
- GaussInt.instOne = { one := { re := 1, im := 0 } }
Equations
- GaussInt.instAdd = { add := fun (x y : GaussInt) => { re := x.re + y.re, im := x.im + y.im } }
Equations
- GaussInt.instNeg = { neg := fun (x : GaussInt) => { re := -x.re, im := -x.im } }
Equations
- GaussInt.instDiv = { div := fun (x y : GaussInt) => { re := (x * y.conj).re.div' y.norm, im := (x * y.conj).im.div' y.norm } }
Equations
- One or more equations did not get rendered due to their size.