To get html output, run
quadrature/trapezoid.py - produces trapezoidal_int.html
stat_mech/int_lj_n2d2.py - produces partition.html,
specialize_n2d2.html, lj_n2.html, and lennard-jones.html
If you open partition.html, the next two pages are linked from it.
To get python code, run
quadrature/convert_trap.py - produces ptrap_gen.py
stat_mech/final.py - produces do_int.py (which imports ptrap_gen.py)
To get C code, run
quadrature/c_convert_trap.py - produces ctrap_gen.h and
ctrap_gen.cpp
stat_mech/c_final.py - produces main_int.cpp
Compile main_int.cpp and ctrap_gen.cpp to get an executable
The names and organization definitely need some work...
Mark
On Jun 16, 1:30 am, Aaron Meurer <[email protected]> wrote:
> Hi.
>
> Do you have some code that produces some example output? Maybe you
> should put an example.py file that shows how the code works.
>
> Aaron Meurer
>
> On Thu, Jun 16, 2011 at 12:16 AM, Mark Dewing <[email protected]> wrote:
> > I've updated the code for modeling derivations
>
> > The main additions are:
> > 1. MathJax output (output viewable in more browsers). This output
> > uses LaTeX as the formatting representation. The MathML output didn't
> > work with MathJax.
>
> > 2. C code generation. The example and the trapezoidal rule now work
> > in C.
>
> > The updates can be found here:
> >https://github.com/markdewing/sympy/tree/derivation_modeling/sympy/pr...
>
> > --
> > You received this message because you are subscribed to the Google Groups
> > "sympy" group.
> > 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
> > athttp://groups.google.com/group/sympy?hl=en.
>
>
--
You received this message because you are subscribed to the Google Groups
"sympy" group.
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/sympy?hl=en.