Ask Your Question

TheHiggsBozo's profile - activity

2020-12-04 22:25:29 +0200 commented question Why won't sage (maxima) factor the symbolic expression 2*a3 - 2*a6?

Thanks for the reply! That's definitely strange. The answer below gave a few more instances of sage factoring like this.

2020-12-04 22:24:12 +0200 received badge  Scholar (source)
2020-12-04 22:24:10 +0200 commented answer Why won't sage (maxima) factor the symbolic expression 2*a3 - 2*a6?

I guess it's time to replace ".factor( with "maxima.factor(" everywhere in my code. Thanks a lot! I'm curious if this is a bug or working as intended.

2020-12-04 22:21:45 +0200 received badge  Supporter (source)
2020-12-03 01:49:54 +0200 asked a question Why won't sage (maxima) factor the symbolic expression 2*a3 - 2*a6?

Here is some sample code.

maxima_calculus('algebraic: true;')

var('a3 a6')

(2*a3 - 2*a6).factor()

Does it not bother with integer factors with linear expressions, for some reason? It seems to handle more complicated expressions well, but now I'm a bit skeptical. For example, sage factors 2*a3^2 + 4*a3*a6 + 2*a6^2 just fine.

2020-12-02 21:24:02 +0200 commented question Downloading thousands of plots from a server sage notebook?

Thanks for the reply. Unfortunately I am not an administrator on the server. Is there a way around this?

2020-12-01 19:29:38 +0200 received badge  Editor (source)
2020-12-01 19:28:27 +0200 asked a question Downloading thousands of plots from a server sage notebook?

Hello! I made a few thousand 2D plots on an online sage notebook (legacy notebook, not jupyter). They are stored in a list. The computation took over a week and I'd like to avoid having to rerun.

What's the best way to download all of these plots as PNG files?

In the past, I have hacked it by looping over the list and .show()'ing the plots, downloading the notebook's HTML file, and cutting the plots from the directory (don't laugh). Usually showing a few hundred plots takes a while to show and I'm worried it may run out of memory and crash in this case.

Thanks in advance!

Edit: I should also mention I am not an admin on the server.

2020-12-01 19:21:05 +0200 commented question "triangular" sliders when plotting with @interact ?

Thanks for your comment. I'm months late, but I appreciate your effort. Seems like it's too much trouble to assemble in sage :(

2020-09-13 02:47:22 +0200 received badge  Student (source)
2020-09-13 00:44:56 +0200 asked a question "triangular" sliders when plotting with @interact ?

Hello! I am interested in plotting a function $f_{u}(x)$ (or $f_u(x,y)$) using @interact. The subscript $u = (u_1, u_2, u_3)$ is a vector in the $2$-dimensional simplex, so $u$ is a real-valued vector with nonnegative entries summing to $1$.

I am aware of single-variable sliders. For the plot of this function $f_u$, it seems natural to me to adjust by clicking a point in this simplex, where the simplex is drawn off to the side as an equilateral triangle with corners labeled $(1,0,0), (0,1,0), (0,0,1)$.

Are features like this built-in? I am okay to use either notebook!