> Also, there doesn't seem to be a way of saving a 'notebook' other than
> on paper. I thought at least I could save the page (in Firefox), but
> when I reload it, it just reloads in the initial state - all the work
> has gone.
>

I'm aware of the need for some way to share the results of a SymPy session.
The old live shell at live.sympy.org offers the thumbtack button (), which
encodes the session commands into a URL querystring. The new shell already
supports the evaluation of such saved session commands, see examples: simple
<https://www.sympy.org/en/shell.html?evaluate=diff(sin(x)%2C%20x)%0A%23--%0A>,
multiline
<https://www.sympy.org/en/shell.html?evaluate=x%20%3D%203%0Ay%20%3D%205%0A%23--%0Ax%20%2B%20y%0A%23--%0A>,
longer
<https://www.sympy.org/en/shell.html?evaluate=A%20%3D%20Matrix(%5B%0A%20%20%5B1%2C%204%2C%205%5D%2C%0A%20%20%5B3%2C%202%2C%205%5D%2C%0A%20%20%5B2%2C%201%2C%203%5D%5D)%0A%23--%0AA%0A%23--%0Adef%20crd(A)%3A%0A%20%20%20%20%22%22%22%0A%20%20%20%20Computes%20the%20CR%20decomposition%20of%20the%20matrix%20A.%0A%20%20%20%20%22%22%22%0A%20%20%20%20rrefA%2C%20licols%20%3D%20A.rref()%20%20%23%20compute%20RREF(A)%0A%20%20%20%20C%20%3D%20A%5B%3A%2C%20licols%5D%20%20%20%20%20%20%20%20%20%20%23%20linearly%20indep.%20cols%20of%20A%0A%20%20%20%20r%20%3D%20len(licols)%20%20%20%20%20%20%20%20%20%20%20%23%20%3D%20rank(A)%0A%20%20%20%20R%20%3D%20rrefA%5B0%3Ar%2C%20%3A%5D%20%20%20%20%20%20%20%20%20%23%20non-zero%20rows%20in%20RREF(A)%0A%20%20%20%20return%20C%2C%20R%0A%23--%0AC%2C%20R%20%3D%20crd(A)%0A%23--%0AC%0A%23--%0AR%0A%23--%0AC*R%0A%23--%0A>
.
It's on the TO-RESEARCH list to figure out how to implement -like
functionality for creating exporting saved sessions in the new shell
(possibly with a custom jupyter REPL extension). See here
<https://docs.google.com/document/d/1UOhrxZN789tKqE19_1TH0FiQK7PzisKioOa0LFeN0_k/edit#bookmark=id.7ulwciq746j9>
.

- Ivan

-- 
You received this message because you are subscribed to the Google Groups 
"sympy" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to sympy+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/sympy/CABERGmLQS38OrMR3pL4eLoPaTya9BQU8RC652O4R3ok_tWoBAA%40mail.gmail.com.

Reply via email to