[GiNaC-devel] GiNaC and Asymptote
Vladimir Kisil
kisilv at maths.leeds.ac.uk
Fri Apr 21 16:05:53 CEST 2006
Dear All,
With so many exciting activity going around GiNaC already I wish
to propose even more. Why do not let GiNaC classes to visualise
themselves?
There is an Asymptote (http://asymptote.sourceforge.net/):
"is a powerful descriptive vector graphics language that provides a
natural coordinate-based framework for technical drawing. Labels and
equations are typeset with LaTeX, for high-quality PostScript output."
Since Asymptote has "C++-like programming syntax"---it looks like a
sister package for GiNAC. This can be used to draw anything from
Feynman diagram to 2D and 3D graphs of functions. I used Asymptote as
standalone application to visualise cycles in GiNaC library
(http://arxiv.org/abs/cs.MS/0512073).
I think it would be worth to integrate GiNaC with Asymptote. As a
start I think to add a method .asy() to the GiNaC::basic which simply
put a label at specific position with LaTeX representation of the
object. For functions it would be rewritten by a method which try to draw its
graph (if this is possible).
If the general perception is that this is worthy I may try to produce
an initial patch.
Best wishes,
Vladimir
--
Vladimir V. Kisil email: kisilv at maths.leeds.ac.uk
-- www: http://maths.leeds.ac.uk/~kisilv/
More information about the GiNaC-devel
mailing list