1Enter cubic coeffs a, b, c, d: Input cubic = [123,234,345,456]
2Discriminant = -40491312264
3Using Mathews reduction ...
4Mathews reduced cubic = [123,234,345,456]
5after transform by [1,0;0,1]
6Using JC/Julia reduction ...
7JC/Julia reduced cubic = [123,-135,246,222]
8after transform by [1,-1;0,1]
9Enter cubic coeffs a, b, c, d: Input cubic = [11276,-159331,750302,-1177513]
10Discriminant = -104060401000
11Using Mathews reduction ...
12Mathews reduced cubic = [83,149,294,878]
13after transform by [-14,-23;-3,-5]
14Using JC/Julia reduction ...
15JC/Julia reduced cubic = [83,-100,245,650]
16after transform by [-14,-9;-3,-2]
17Enter cubic coeffs a, b, c, d:
18