If you have implemented stuff in C++ already, then rather than re-implement it in Sage you could wrap your C++ in Python and use it that way.
Mind you , that is not very easy and requires quite a lot of Python knowledge, as I am discovering in doing the same job on my modular symbols C++ code. John On 15/01/2008, William Stein <[EMAIL PROTECTED]> wrote: > > On Jan 15, 2008 2:52 AM, Pierre <[EMAIL PROTECTED]> wrote: > > > > > Perhaps you'll want to make all the data available as a database > > > as part of Sage at some point? > > > > at some point, yes, i'd be proud to. RIght now i'm in the process of > > writing a paper explaining the computations, and eventually i'll need > > to beautify the source code and distribute it and take care of all > > sort of things -- i guess at that point i'll provide a way of calling > > my programs within sage, and yes, building up a database should be > > feasable. But i need a lot of time! > > > > btw is there a graded algebra object in Sage ? if not, what should it > > inherit from, should i decide to implement it? in fact i should > > implement the unstable algebra object, but the amount of details is > > scary. I've done it in C++ already, so i know what i'm talking about. > > > Oh and generally speaking, is there a diagrammatic presentation > > anywhere of all the objects in Sage? i couldn't find one in the > > reference manual, and i felt it was needed (for example i'm confused > > with the several polynomial algebra objects around). Surely a program > > like Doxygen could produce such a diagram automatically. > > > Doxygen is as you know for C/C++, not Python. There are some tools > like Doxygen for Python, but in my experience they always fall apart > on something as complicated as Sage. > > Sage itself can crate the class diagram associated to all objects > in any given module: > > sage: g = class_graph(sage.rings.polynomial) > sage: h = Graph(g) > sage: h.plot3d_new(vertex_size=0.01, edge_size=0.001) > > However the above isn't labeled (and it is stupid that one must > tweak the vertex and edge sizes to see anything). > It could be labeled though, since our > new 3d plotting code has good support for labels. > > This has labels, but they size and spacing is so terrible by default > that one can't see any of them. > > sage: h.plot() > > -- William > > > > -- John Cremona --~--~---------~--~----~------------~-------~--~----~ 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-forum URLs: http://sage.math.washington.edu/sage/ and http://sage.scipy.org/sage/ -~----------~----~----~----~------~----~------~--~---
