newtons-method Questions

2

Solved

Could be quite a trivial question to answer, but I just wanted to be clearer. From the available literature and the discussion in What is the difference between Gradient Descent and Newton's Gr...
Alansen asked 18/1, 2020 at 6:43

5

Solved

I understand what Gradient Descent does. Basically it tries to move towards the local optimal solution by slowly moving down the curve. I am trying to understand what is the actual difference betwe...

1

Solved

I am doing an optimisation problem using Scipy, where I am taking a flat network of vertices and bonds of size NNxNN, connecting two sides of it (i.e., making it periodic), and minimising an energy...
Sinless asked 23/2, 2017 at 19:24

2

Solved

I'm doing the Go tutorials and am wondering whether there is a more elegant way to compute a square root using Newton's method on Exercise: Loops and Functions than this: func Sqrt(x float64) floa...
Shalna asked 16/4, 2015 at 5:48

1

This code(attached with the post) in C uses Newton - Raphson method to find roots of a polynomial in a particular interval. This code works perfectly fine for some polynomials like x^3 + x^2 + x +...
Supernatant asked 26/11, 2016 at 21:19

19

Solved

How do you write your own function for finding the most accurate square root of an integer? After googling it, I found this (archived from its original link), but first, I didn't get it completely...
Bromic asked 26/10, 2009 at 6:36

2

Solved

I've found in 'addons/math/misc/brent.ijs' implementation of Brent's method as an adverb. I would like to build a Newton's method as an adverb too but it's much harder than building tacit verbs. ...
Scientific asked 1/11, 2014 at 14:50

2

Solved

I'm reading this document: http://software.intel.com/en-us/articles/interactive-ray-tracing and I stumbled upon these three lines of code: The SIMD version is already quite a bit faster, but we...
Splanchnic asked 7/2, 2013 at 13:34

3

Solved

Over the past couple of weeks I've been trying to simulate orbits in a solar system simulation I am making as part of a University module. To cut things short, my simulation is written in C++...
Espinosa asked 28/2, 2014 at 19:26

2

Solved

I'm trying to make a function that calculates the cubic root through Newton's method but I seem to have an infinite loop here for some reason? #include <iostream> #include <math.h> us...
Josefina asked 3/9, 2013 at 11:35

3

Solved

I am currently trying to convert colours between RGB (red, green, blue) colour space and RYB (red, yellow, blue) colour space and back again. Based on the details in the following paper, I am able ...
Rodenticide asked 9/2, 2011 at 13:25

2

I have an issue when trying to implement the code for Newton's Method for finding the value of the square root (using iterations). I'm trying to get the function to stop printing the values once a ...
Wendiwendie asked 16/10, 2013 at 2:2

3

Solved

For an assignment, we were asked to create a function which returns an inverse function. The basic problem was to create a square root function from a square function. I came up with a solution usi...
Crosier asked 26/6, 2012 at 18:48

1

Solved

This question is related to the "numerical recipes in C++" book, so it will be reserved to people knowing a little about it as well as about multidimensional optimization. I am writing a program t...
1

© 2022 - 2024 — McMap. All rights reserved.