Roots of a cubic polynomial: Difference between revisions
m
→{{header|J}}: punctuation
m (→{{header|J}}: link to a page going into more detail on the approach) |
m (→{{header|J}}: punctuation) |
||
Line 24:
=={{header|J}}==
Using J's [[j:Vocabulary/pdot|polynomial primitive]] for most of the heavy lifting here. Also using J's [[j:Vocabulary/dot|generalized determinant]] to find the characteristic polynomial (first turning each element of the matrix into a polynomial then finding the determinant of the result). See also [[j:Doc/Articles/Play141|Oh, No, Not Eigenvalues Again!]]
Implementation:
|