Multidimensional Newton-Raphson method: Difference between revisions

m
→‎{{header|Kotlin}}: Minor correction to pre-amble.
(→‎{{header|zkl}}: Added Kotlin example)
m (→‎{{header|Kotlin}}: Minor correction to pre-amble.)
Line 108:
A straightforward approach multiplying by the inverse of the Jacobian, rather than dividing by f'(x) as one would do in the single dimensional case, which is quick enough here.
 
As neither the JVMJDK nor the Kotlin Standard Library have matrix functions built in, most of the functions used have been taken from other tasks.
<lang scala>// Version 1.2.31
 
9,476

edits