Anonymous user
Roots of a function: Difference between revisions
added J
m (→[[Roots of a function#ALGOL 68]]: fix typo) |
(added J) |
||
Line 277:
i = i + 1
END DO
=={{header|J}}==
J has builtin a root-finding operator, '''<tt>p.</tt>''', whose input is the (reversed) coeffiecients of the polynomial. Hence:
>{:p. 0 2 _3 1
2 1 0
=={{header|Java}}==
|