Roots of a cubic polynomial: Difference between revisions

Content deleted Content added
Rdm (talk | contribs)
m →‎{{header|J}}: a bit more explanation
Rdm (talk | contribs)
m →‎{{header|J}}: more orientation
Line 95: Line 95:
errors: 0 4.44089e_15j_1.77636e_15 4.44089e_15j1.77636e_15</syntaxhighlight>
errors: 0 4.44089e_15j_1.77636e_15 4.44089e_15j1.77636e_15</syntaxhighlight>


We could instead use [[j:Vocabulary/LAPACK|lapack]]. The lapack approach would be more stable for very large matrices, but that's not an issue here. Also, the approach we use here better fits the current title of this task.
We could instead use [[j:Vocabulary/LAPACK|lapack]]. The lapack approach would be faster and more stable for very large matrices, but that's not an issue here. Also, the approach we use here better fits the current title of this task.


=={{header|Julia}}==
=={{header|Julia}}==