Yes, there will definitely be code to do this. I've got a lot of ideas but haven't gotten around to it because most of my sage development efforts been spent on coercion.
- Robert On Jul 5, 2008, at 12:16 AM, Thierry Dumont wrote: > Hello, > > My question is: is there / will there be some tool for code > generation > in Sage ? > > Many people involved (like me) in "scientific > computing" (implementation > of numerical methods) use computer algebra tools for the generation > of C > (or Fortran, or matlab, or...) code. > For example, if you code finite elemenet method, you will need to > integrate (on a triangle or on a tetrahedron) a lot of polynomials, > derivate them, multiply them and so on... This is a totally trivial > task > (mathematicaly), but actually a boring and error prone job (suppose > you > have 48 polynomials of 3 variables, you have to make the gradients of > all, products of all the pairs gradients and integrate them) (I know: > there are symetries :-) ). At the end, you have to write all the > results > in C, Fortran or in an other language. > > > This is very easy to do this with a computer algebra tool if it can > generate C or Fortran code; I know large industrial societies wich > use, > say, Maple only to do this. > > So, this will be great to have this sort of feature in Sage. > > yours > > ---- > Thierry Dumont > Math. Dpt, Lyon, France. > > > > begin:vcard > fn:Thierry Dumont > n:Dumont;Thierry > org;quoted-printable;quoted-printable:Universit=C3=A9 Lyon 1 & > CNRS.;Institut Camille Jordan -- Math=C3=A9matiques / Mathematics. > adr:;;43 Bd du 11 Novembre.;Villeurbanne;;69621;France > email;internet:[EMAIL PROTECTED] > title;quoted-printable:Ing=C3=A9nieur de Recherche / Research > Engineer. > tel;work:04 72 44 85 23. > tel;fax:04 72 44 80 53 > x-mozilla-html:FALSE > url:http://math.univ-lyon1.fr/~tdumont > version:2.1 > end:vcard > --~--~---------~--~----~------------~-------~--~----~ To post to this group, send email to sage-support@googlegroups.com To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/sage-support URLs: http://www.sagemath.org -~----------~----~----~----~------~----~------~--~---