ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
From: Alan Braslau <alan.braslau@cea.fr>
To: mailing list for ConTeXt users <ntg-context@ntg.nl>
Subject: Re: luatex lunatic
Date: Thu, 19 Dec 2013 07:29:44 +0100	[thread overview]
Message-ID: <20131219072944.3bc17498@iram-hb-003386.extra.cea.fr> (raw)
In-Reply-To: <CAPBmU9FTxtPqMeJM1=nsQVaCdBELWipfApTvhdRZKUv958ZjQA@mail.gmail.com>

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 <desdechaves@gmail.com> wrote:

> 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
___________________________________________________________________________________
If your question is of interest to others as well, please add an entry to the Wiki!

maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : http://www.pragma-ade.nl / http://tex.aanhet.net
archive  : http://foundry.supelec.fr/projects/contextrev/
wiki     : http://contextgarden.net
___________________________________________________________________________________


      parent reply	other threads:[~2013-12-19  6:29 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-12-18 22:16 DesdeChaves
2013-12-18 23:42 ` Hans Hagen
2013-12-18 23:51 ` luigi scarso
2013-12-19  6:29 ` Alan Braslau [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20131219072944.3bc17498@iram-hb-003386.extra.cea.fr \
    --to=alan.braslau@cea.fr \
    --cc=ntg-context@ntg.nl \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).