2023-07-20 17:32:43 +0200 | received badge | ● Popular Question (source) |
2023-05-31 02:30:04 +0200 | received badge | ● Popular Question (source) |
2023-01-11 09:00:13 +0200 | received badge | ● Good Question (source) |
2022-12-30 20:07:26 +0200 | received badge | ● Popular Question (source) |
2022-08-04 15:11:04 +0200 | edited answer | Solve fails to identify the maximum of the entropy function Instead, solve(e^derivative(-x*log(x) -(1-x)*log(1-x),x)==1,x) gives [x == (1/2)] |
2022-08-04 15:10:15 +0200 | answered a question | Solve fails to identify the maximum of the entropy function Instead, solve(e^derivative(-x*log(x) -(1-x)*log(1-x),x)==1,x) gives [x == (1/2)] |
2022-07-22 05:35:20 +0200 | received badge | ● Good Answer (source) |
2022-05-24 19:26:51 +0200 | asked a question | symbolic functions and expressions symbolic functions and expressions Suppose I have a huge expression involving symbolic variables and symbolic functions. |
2022-04-15 06:07:16 +0200 | edited question | Representation of Clifford algebras Representation of Clifford algebras Is there a way of defining a matrix representation of Clifford algebras in sage? F |
2022-04-15 05:18:15 +0200 | received badge | ● Nice Question (source) |
2022-04-14 23:16:42 +0200 | received badge | ● Associate Editor (source) |
2022-04-14 23:16:42 +0200 | edited question | Representation of Clifford algebras Representation of Clifford algebras Is there a way of defining a matrix representation of Clifford algebras in sage? F |
2022-04-14 22:23:12 +0200 | asked a question | Representation of Clifford algebras Representation of Clifford algebras Is there a way of defining a matrix representation of Clifford algebras in sage? F |
2022-03-24 16:40:50 +0200 | answered a question | Choose figsize for 3D plots The output size in jupyter notebook can be changed using this workaround. |
2022-01-12 00:26:09 +0200 | marked best answer | fast_callable x numpy
However, it does't work when the expression involves a special function. Throws Is there any way of turn symbolic expressions containing special functions into numpy-callable? Thus avoiding to rewrite them using scipy special functions? |
2022-01-10 15:58:44 +0200 | commented answer | fast_callable x numpy I see, thanks! |
2022-01-10 09:13:19 +0200 | received badge | ● Nice Question (source) |
2022-01-10 02:53:25 +0200 | commented answer | fast_callable x numpy For expressions with only elementary functions, there is no need of substitute_function. A callable function (or fast_ca |
2022-01-10 02:52:47 +0200 | commented answer | fast_callable x numpy For expressions with only elementary functions, there is no need of substitute_function. A callable function (or fast_ca |
2022-01-09 22:18:27 +0200 | asked a question | fast_callable x numpy fast_callable x numpy fast_callable is very handy for evaluating symbolic expressions with numpy arrays. Like my_expr = |
2022-01-02 19:56:05 +0200 | commented answer | formatting an output as a numbered equation Very nice and informative answer! There is also the GNU Texmacs. It can run sage, R, python, maxima and a bunch of other |
2021-12-15 21:04:40 +0200 | answered a question | Partial derivative and chain rule You can avoid the TypeError by using the following python function def formal_diff(f, x): tempX = SR.temp_var() |
2021-12-15 17:14:42 +0200 | received badge | ● Good Answer (source) |
2021-12-14 21:09:19 +0200 | answered a question | Iterate on a LatexExpr Why not put the variables in a list? some_variables = [var(f'p_{k}{l}') for k in range(5) for l in range(4,8)] for v in |
2021-12-14 20:45:44 +0200 | commented question | How do diff(y,x) and diff(y)/diff(x) differ? See the chapter 2 of the free book Computational Mathematics with SageMath, it's an excellent introduction to the sage s |
2021-12-13 16:50:29 +0200 | edited answer | Height of the output cell in 3D plots I found a workaround for now. First save as html var('u v') some_plots = parametric_plot3d([(cos(u) * sin(v))^3, |
2021-12-13 10:03:37 +0200 | received badge | ● Good Question (source) |
2021-12-13 10:03:31 +0200 | received badge | ● Nice Answer (source) |
2021-12-12 20:39:10 +0200 | edited answer | Height of the output cell in 3D plots I found a workaround for now. First save as html var('u v') some_plots = parametric_plot3d([(cos(u) * sin(v))^3, |
2021-12-12 20:38:12 +0200 | edited answer | Height of the output cell in 3D plots I found a workaround for now. First save as html some_plots = parametric_plot3d([(cos(u) * sin(v))^3, (sin(u) * sin( |
2021-12-12 14:32:44 +0200 | received badge | ● Self-Learner (source) |
2021-12-12 14:32:41 +0200 | received badge | ● Nice Question (source) |
2021-12-12 07:25:27 +0200 | answered a question | Height of the output cell in 3D plots I found a workaround that works for now. First save as html some_plots = parametric_plot3d([(cos(u) * sin(v))^3, (si |
2021-12-10 02:07:40 +0200 | asked a question | Height of the output cell in 3D plots Height of the output cell in 3D plots Is it possible to change the height of the output cell in 3d plots? We can globa |
2021-12-09 20:25:37 +0200 | received badge | ● Nice Answer (source) |
2021-12-09 12:51:49 +0200 | answered a question | Square root of a fraction By doing $\sqrt{-\frac{1}{f\left(r\right)^{2} \sin\left(r\right)^{2}}} - \frac{1}{\sqrt{-f\left(r\right)^{2} \sin\left( |
2021-12-07 22:03:13 +0200 | commented answer | Solve return an implicit equation For some reason, the solution you found is not exactly the same @CyrilleP found, which is also the one found in find_roo |
2021-12-07 21:39:52 +0200 | edited answer | Manipulate dummy variable after solving trig You can get the dummy variable by dummy_var = sols[0].rhs().variables()[0] And then define a callable function changi |
2021-12-07 03:28:23 +0200 | answered a question | What does the e in the output mean? See "E notation" here. |
2021-12-06 05:42:42 +0200 | answered a question | Manipulate dummy variable after solving trig You can get the dummy variable by dummy_var = sols[0].rhs().variables()[0] And then define a callable function changi |
2021-12-04 14:42:58 +0200 | marked best answer | common factor in symbolic expressions Is there any way of extracting a common factor of all terms in a list of symbolic expressions? For example, in the following list such function should return it should return |
2021-12-04 08:08:16 +0200 | received badge | ● Self-Learner (source) |
2021-12-04 07:47:21 +0200 | edited answer | common factor in symbolic expressions Using the @Max Alekseyev suggestion I was able to write a simple python function that solves the problem. def common_f |
2021-12-04 07:44:46 +0200 | edited answer | common factor in symbolic expressions Using the Alekseyev suggestion I was able to write a simple python function that solves the problem. def common_factor |
2021-12-04 07:43:11 +0200 | edited answer | common factor in symbolic expressions Using the Alekseyev suggestion I was able to write a simple python function that solves the problem. def common_factor |
2021-12-04 07:41:10 +0200 | edited answer | common factor in symbolic expressions Using the Alekseyev suggestion I was able to write a simple python function that solves the problem. def common_factor |
2021-12-04 06:10:04 +0200 | answered a question | common factor in symbolic expressions Using the Alekseyev suggestion I was able to write a python function that solves the problem. def common_factor(expr_l |
2021-12-04 05:52:11 +0200 | edited question | common factor in symbolic expressions common factor in symbolic expressions Is there any way of extracting a common factor of all terms in a list of symbolic |
2021-12-04 05:51:30 +0200 | commented answer | common factor in symbolic expressions My initial example wasn't that good. For [1/x^4*cos(x), 1/x^3*cos(x), 1/x^2*cos(x)*sin(x)] it should return 1/x^2*co |
2021-12-04 05:50:26 +0200 | commented answer | common factor in symbolic expressions My initial example wasn't that good. For [1/x^4*cos(x), 1/x^3*cos(x), 1/x^2*cos(x)*sin(x)] is should return 1/x^2*co |