20211022 02:45:11 +0100  marked best answer  A problem with fast_callable I am having a problem with getting consistent results from fast_callable (Sagemath 9.2). Consider the following example: The result of the first print is [2. 4.] as expected but the result of the second print is just 0.0 instead of [0.0,0.0]. In my real application coords dynamically changes, and becuase of this I have to check whether a compomnant is constant or not before applying fast_callable.

20211021 09:09:39 +0100  asked a question  A problem with fast_callable A problem with fast_callable I am having a problem with getting consistent results from fast_callable (Sagemath 9.2). Co 
20210414 08:56:21 +0100  received badge  ● Nice Answer (source) 
20210414 00:42:18 +0100  received badge  ● Necromancer (source) 
20210414 00:42:18 +0100  received badge  ● Teacher (source) 
20210414 00:09:25 +0100  answered a question  Why `unable to convert (sin(h(x)), cos(h(x))) to a symbolic expression`? I had the same problem, I don't know the reason why g(x) = f(h(x)) does not work. But this works (Sage 9.2): g(x) = [*f 
20210411 19:30:09 +0100  marked best answer  Possible problem in bezier_path.py It seems that the path that is stored by BezierPath is not correct. Let then is different than the given path p2d. There are several consequences to this, for example, the stored path cannot be fed again to bezier_path, so this won't work (results in weird errors): and also affects the plot3d method of the class. The issue seems to stem from line 64 of bezier_path.py: Since the list of vertices changes size after the line so does self.path. I believe the line should be 
20210411 13:04:37 +0100  received badge  ● Nice Question (source) 
20210411 10:39:18 +0100  received badge  ● Nice Question (source) 
20210411 02:07:59 +0100  asked a question  Possible problem in bezier_path.py Possible problem in bezier_path.py It seems that the path that is stored by BezierPath is not correct. Let p2d = [[(3 
20210411 01:48:28 +0100  received badge  ● Supporter (source) 
20210411 00:11:14 +0100  received badge  ● Student (source) 
20210410 23:53:01 +0100  marked best answer  Problem with plotting a 3d Bezier curve I have a problem with plotting a Bezier spline in 3d. In 2d this simply works: But when I want to plot it in 3d, this line or both give me the following error: TypeError: unable to convert (t  1)^3 to an integer. What am I doing wrong? 
20210410 23:53:01 +0100  received badge  ● Scholar (source) 
20210410 19:24:38 +0100  asked a question  Problem with plotting a 3d Bezier curve Problem with plotting a 3d Bezier curve I have a problem with plotting a Bezier spline in 3d. In 2d this simply works: 