Now that we have double-precision mathematics in MetaPost, you can
easily make calculations directly in MetaPost. You can also make such
calculations directly in lua without relying on libraries as the
functions are rather simple.
Alan
On Wed, 18 Dec 2013 22:16:45 +0000
DesdeChaves
Dear sirs I would like to try luatex lunatic ( http://wiki.contextgarden.net/User:Luigi.scarso/luatex_lunatic) but i d'ont find the luatex-0.42. I'm looking in https://foundry.supelec.fr/frs/?group_id=10&release_id=406#luatex-beta-0.76.0-title-content
I've been looking for a way to simulate data with different distributions (normal, poisson, exponential, etc.) in the .tex file. The use of GSL library is a good option, but it seems impossible to import in luatex. Another way is using the R-statistical through filter module***, which seems to work well in luatex. At this time I would try to import the GSL functions through python script. For that i think that i need the older luatex 0.42 but I don't find that.
*** \defineexternalfilter [R] [ filtercommand={R CMD BATCH -q --save --restore \externalfilterinputfile\space \externalfilteroutputfile}, output=\externalfilterbasefile.out, directory=output, readcommand=\typefile, read=no, cache=yes, ]
Jorge
-- Alan Braslau CEA DSM-IRAMIS-SPEC CNRS URA 2464 Orme des Merisiers 91191 Gif-sur-Yvette cedex FRANCE tel: +33 1 69 08 73 15 fax: +33 1 69 08 87 86 mailto:alan.braslau@cea.fr