>>The bottom image looks like one would expect. The other two look like I
>>maybe messed up my maths somewhere... they don't look right somehow.
>>
>>I'll go see if I can figure out if/where my code is wrong. :-S
>
> I suspect that it has something to do with the values of T1 and T2.
Indeed - that's the optimisation.
The formula is z^3 - 3a^2z + b, as - as an optimisation - my code
calculates t = 3a^2. Then the formula is z^3 - tz + b.
Still... I'm staring at my code... and I'm not seeing anything wrong...
hmmmm... 0:-)
Post a reply to this message
|