Serge A. Salamanka wrote: > It will be great to enable Sage with 2D input. > > Any ideas how to do this ? >
One easy thing to do would be to have a bunch of "helpers" for easy things, like matrices. A student clicks on a button, and a javascript window pops up that lets them specify the size, entries (in tabular form) and possibly a base ring for a matrix. When they click "submit" or something, it pastes the code for that matrix into the current cursor position. At least I think this would be easy. Jason > #Serge > > [email protected] пишет: >> Ben Woodruff wrote: >>> Do you know if 2D math input is in the process of being developed, >>> such as being able to type matrices in matrix format instead of having >>> to create a list of lists. >> I assume you mean like how Mathematica uses ctrl-enter and ctrl-comma to >> create a grid of inputs in their notebook. As far as I know, there is >> no one actively developing 2d math input in Sage. One issue is that >> currently, anything you can type into the notebook, you can also type >> into the command line or into a script. That is very nice (sort of like >> some of the good statistical packages always make sure that anything you >> can do, you can also from the command line and in a script). >> >> Well, I take that back. There are a couple of people actively >> developing a graph editor (graphs as in vertices and edges). You'd be >> able to point and click to create and edit graphs. I think the idea is >> that it would then spit back into a cell the text that is equivalent to >> what you pointed and clicked. >> >> I can see it being fairly easy to make a small little popup window that >> lets you type in a matrix as a grid, and then when you close the >> window, it inserts the corresponding code for creating a matrix into the >> current position of a cell. >> >> Also, as I mentioned earlier, there is a 2d math equation editor that >> Davide Cervone started (the author of jsmath). A while ago he mentioned >> that a student was working on it, but I don't know if anything has come >> out of it yet. >> >> I'm forwarding this reply to the sage-devel mailing list. Someone there >> may know of someone working on 2d math input. >> >> Jason >> >> > > > > --~--~---------~--~----~------------~-------~--~----~ To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/sage-devel URLs: http://www.sagemath.org -~----------~----~----~----~------~----~------~--~---
