ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
From: luigi scarso <luigi.scarso@gmail.com>
To: mailing list for ConTeXt users <ntg-context@ntg.nl>
Subject: Re: Plotting a graph of a function f, like f(x) = e^x, with MetaPost
Date: Thu, 13 Oct 2011 10:04:47 +0200	[thread overview]
Message-ID: <CAG5iGsB63T3On4oKUTr4UyMd8YpwUwDGcGveV3dbOYWFMq2PqA@mail.gmail.com> (raw)
In-Reply-To: <20111013075920.GA6076@iram-ha-003840.extra.cea.fr>


[-- Attachment #1.1: Type: text/plain, Size: 818 bytes --]

On Thu, Oct 13, 2011 at 9:59 AM, Alan Braslau <alan.braslau@cea.fr> wrote:

> On Thu, Oct 13, 2011 at 02:30:07AM +0200, Mojca Miklavec wrote:
> >
> > MetaPost doesn't know erf and other obscure functions
>
> Metapost could possibly be extended to provide all of the functions
> in the standard math library. In fact, it would be nice if there be
> some hook to `link' to additional functions, written in C or in Fortran,
> for example. (I regularly use the complex error function.)
> Maybe this could be possible in luatex, made available to metapost
> through some communication pipe?
>
> yes, just build a binding for the library (or use something else like
cinvoke)
http://www.gust.org.pl/bachotex/2011-en/presentations/Scarso_2_2011
pag 15 or so
If I recall correctly, I've built a binding for gsl too.

-- 
luigi

[-- Attachment #1.2: Type: text/html, Size: 1281 bytes --]

[-- Attachment #2: Type: text/plain, Size: 485 bytes --]

___________________________________________________________________________________
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
___________________________________________________________________________________

  reply	other threads:[~2011-10-13  8:04 UTC|newest]

Thread overview: 12+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-10-11 22:45 Paul Menzel
2011-10-11 22:56 ` Paul Menzel
2011-10-11 22:58 ` Mojca Miklavec
2011-10-12  5:36 ` Alan Braslau
2011-10-12 22:13   ` Paul Menzel
2011-10-12 22:28     ` Mojca Miklavec
2011-10-12 23:19       ` Paul Menzel
2011-10-13  0:30         ` Mojca Miklavec
2011-10-13  7:32           ` Hans Hagen
2011-10-13  7:59           ` Alan Braslau
2011-10-13  8:04             ` luigi scarso [this message]
2011-10-12  6:40 ` luigi scarso

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=CAG5iGsB63T3On4oKUTr4UyMd8YpwUwDGcGveV3dbOYWFMq2PqA@mail.gmail.com \
    --to=luigi.scarso@gmail.com \
    --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).