You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
is the following example a limitation of brent's algorithm or a bug in the code? the function to be minimized is a step, so has wonky derivatives. would be nice if it gave a reasonable answer though.
in both cases below the function is -1 for negative input and 1 for positive input. in the first case, which returns 1 as the minimum (a wrong answer), the search interval is -1:2. in the second, which works, the interval is -2:2.
is the following example a limitation of brent's algorithm or a bug in the code? the function to be minimized is a step, so has wonky derivatives. would be nice if it gave a reasonable answer though.
in both cases below the function is -1 for negative input and 1 for positive input. in the first case, which returns 1 as the minimum (a wrong answer), the search interval is -1:2. in the second, which works, the interval is -2:2.
The text was updated successfully, but these errors were encountered: