2023-11-29 08:40:18 +0200 received badge ● Notable Question (source) 2023-11-29 08:40:18 +0200 received badge ● Popular Question (source) 2023-07-21 16:38:36 +0200 received badge ● Nice Question (source) 2023-07-17 07:52:47 +0200 received badge ● Popular Question (source) 2023-07-08 17:59:08 +0200 marked best answer Is fast_callable breaking my code? I'm currently trying to make an interact for newton fractals that accepts most functions. This is my code for newton's method: import numpy as np def newton(z0,f,fp,MAX_IT): cnt = 0 TOL = 1e-10 z = z0 condition = fp(z) != 0 a = z[condition] for i in range(MAX_IT): dz = f(a)/fp(a) adz = np.absolute(dz) if np.all(adz < TOL) : return a cnt += 1 a -= dz return False  Input: g(a) = sin(a) f = fast_callable(g, vars=(a)) fp = fast_callable(diff(g), vars(a)) x = np.linspace(-7,7,100) y = np.linspace(-7,7,100) xx,yy = np.meshgrid(x,y) newton(xx+yy*1j,f,fp,150)  Output: array([-6.28318531+0.j, -6.28318531+0.j, -6.28318531+0.j, ..., 6.28318531+0.j, 6.28318531+0.j, 6.28318531+0.j])  I'm supposed to get 0 or 2*pi in addition to the above. When I use numpy functions I don't have this issue. Is fast_callable breaking something? 2023-07-08 17:59:08 +0200 received badge ● Scholar (source) 2023-07-08 17:42:09 +0200 edited question How to compute and display a conformal map in Sage How to compute and display a conformal map in Sage I am trying to create conformal maps of complex functions, ie somethi 2023-07-08 17:27:45 +0200 asked a question How to compute and display a conformal map in Sage How to compute and display a conformal map in Sage I am trying to create conformal maps of complex functions, ie somethi 2023-06-27 00:02:03 +0200 edited question What method is complex_number_to_cmap_rgb using to generate its values? What method is complex_number_to_cmap_rgb using to generate its values? Note: Throughout my question I will be abbreviat 2023-06-26 23:55:52 +0200 asked a question What method is complex_number_to_cmap_rgb using to generate its values? What method is complex_number_to_cmap_rgb using to generate its values? Note: Throughout my question I will be abbreviat 2023-06-12 20:18:04 +0200 edited question Is fast_callable breaking my code? Is fast_callable breaking my code? I'm currently trying to make an interact for newton fractals that accepts most functi 2023-06-10 19:36:28 +0200 edited question Is fast_callable breaking my code? Is fast_callable breaking my code? I'm currently trying to make an interact for newton fractals that accepts most functi 2023-06-07 20:41:43 +0200 edited question Is fast_callable breaking my code? Is fast_callable breaking my code? I'm currently trying to make an interact for newton fractals that accepts most functi 2023-06-06 20:33:28 +0200 edited question Is fast_callable breaking my code? Is fast_callable breaking my code? I'm currently trying to make an interact for newton fractals that accepts most functi 2023-06-06 20:25:37 +0200 received badge ● Supporter (source) 2023-06-05 22:16:27 +0200 edited question Is fast_callable breaking my code? Is fast_callable breaking my code? I'm currently trying to make an interact for newton fractals that accepts most functi 2023-06-05 15:57:54 +0200 edited question Is fast_callable breaking my code? Is fast_callable breaking my code? I'm currently trying to make an interact for newton fractals that accepts most functi 2023-06-04 21:28:54 +0200 edited question Is fast_callable breaking my code? Is fast_callable breaking my code? I'm currently trying to make an interact for newton fractals that accepts most functi 2023-06-04 19:06:07 +0200 edited question Is fast_callable breaking my code? How do I make Newton's Method return the zeros of sin? I'm currently trying to make an interact for newton fractals that 2023-06-04 18:55:41 +0200 edited question Is fast_callable breaking my code? How do I make Newton's Method return the zeros of sin? I'm currently trying to make an interact for newton fractals that 2023-06-04 18:55:16 +0200 edited question Is fast_callable breaking my code? How do I make Newton's Method return the zeros of sin? I'm currently trying to make an interact for newton fractals that 2023-06-04 18:04:48 +0200 asked a question Is fast_callable breaking my code? How do I make Newton's Method return the zeros of sin? I'm currently trying to make an interact for newton fractals that 2023-06-04 18:03:24 +0200 asked a question How do I make Newton's Method return the zeros of sin? How do I make Newton's Method return the zeros of sin? I'm currently trying to make an interact for newton fractals that 2023-06-03 19:24:04 +0200 edited question How do I make Newton's Method return the zeros of sin? How do I make Newton's Method return the zeros of sin? I'm currently trying to make an interact for newton fractals that 2023-06-03 19:20:18 +0200 edited question How do I make Newton's Method return the zeros of sin? How do I make Newton's Method return the zeros of sin? I'm currently trying to make an interact for newton fractals that 2023-06-03 19:08:47 +0200 commented question How do I make Newton's Method return the zeros of sin? @John Palmieri xx+yy*1j is z0, sin(x) is f, and cos(x) is fp 2023-06-03 18:48:56 +0200 edited question How do I make Newton's Method return the zeros of sin? How do I make Newton's Method return the zeros of sin? I'm currently trying to make an interact for newton fractals that 2023-06-03 06:44:27 +0200 edited question How do I make Newton's Method return the zeros of sin? How do I make Newton's Method return the zeros of sin? I'm currently trying to make an interact for newton fractals that 2023-06-01 23:39:58 +0200 commented question How do I make Newton's Method return the zeros of sin? @John Palmieri the question has to do with Sage because I'm trying to figure out if fast_callable is causing my issue, o 2023-06-01 20:57:40 +0200 edited question How do I make Newton's Method return the zeros of sin? How do I make Newton's Method return the zeros of sin? I'm currently trying to make an interact for newton fractals that 2023-05-31 17:19:43 +0200 edited question How do I make Newton's Method return the zeros of sin? How do I make Newton's Method return the zeros of sin? I'm currently trying to make an interact for newton fractals that 2023-05-31 17:13:27 +0200 received badge ● Editor (source) 2023-05-31 17:13:27 +0200 edited question How do I make Newton's Method return the zeros of sin? How do I account for functions with discontinuities in Newton's Method? I'm currently trying to make an interact for new 2023-05-25 13:42:49 +0200 received badge ● Student (source) 2023-05-22 09:22:21 +0200 asked a question How do I make Newton's Method return the zeros of sin? How do I account for functions with discontinuities in Newton's Method? I'm currently trying to make an interact for new