We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent eb01f33 commit a399ff3Copy full SHA for a399ff3
mathematics/newton_raphson_method.r
@@ -1,4 +1,4 @@
1
-newtonRaphson <- function(f, fprime, x0, tol = 1e-6, max_iter = 100) {
+newton_raphson <- function(f, fprime, x0, tol = 1e-6, max_iter = 100) {
2
x <- x0
3
for (i in 1:max_iter) {
4
deriv <- fprime(x)
0 commit comments