Neven Sajko on Wed, 28 Jul 2021 18:56:29 +0200
|
[Date Prev] [Date Next] [Thread Prev] [Thread Next] [Date Index] [Thread Index]
Re: Is it possible to do interval arithmetic, simulate passing intervals as function arguments, like in Giac?
|
- To: pari-users@pari.math.u-bordeaux.fr
- Subject: Re: Is it possible to do interval arithmetic, simulate passing intervals as function arguments, like in Giac?
- From: Neven Sajko <nsajko@gmail.com>
- Date: Wed, 28 Jul 2021 16:56:16 +0000
- Delivery-date: Wed, 28 Jul 2021 18:56:29 +0200
- Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :content-transfer-encoding; bh=DOiXlvvknA4MBp9C2v5G93wLXqYJDRFr9eu5IlnZTQo=; b=BI7w7SNcyaQ46/iQ4vPpIaj8bGfr5UcDF+1B7ZuUajZTnP06JWb4tqWvrMKvqnQzeP Zd30hm3KTEXjSikb63NAnsu7zYyv0JBOAyPUuLoMNwvSL82r6jYyhJVoTKvqrv2H2Phw 9FLHLH7gceflHNGy28y3tntUDZVfmWBC13m6XKPzCy2OOijyIdTb+0+uVOX8Aqb14wA7 h/K19Y53ajtxsjMKE00y4NKy34begXRaVprevBphjQN9GXs+Lb2ce+9ZATF4QJR2ByVY B1+qpzzObIlgaMQ5CGGz+nnRu9cWE6gz67J1qEy8wf37y8aAhL8bdnKDMBix0O46ec0Y Ajug==
- In-reply-to: <20210728142450.GC12654@yellowpig>
- References: <CAL+bK4M4v_zssx5TMK2qOJ-3Z6f0ocDBmMs0GtM-XE4CmdHEiQ@mail.gmail.com> <20210728142450.GC12654@yellowpig>
On Wed, 28 Jul 2021 at 16:52, Bill Allombert
<Bill.Allombert@math.u-bordeaux.fr> wrote:
>
> On Wed, Jul 28, 2021 at 01:43:24PM +0000, Neven Sajko wrote:
> > Hello,
> >
> > In Giac if I do this, the result is pretty much the same as in Pari:
> > sin(i[0.01, 0.02])
> > But, consider this Giac command:
> > sin(i[0.01, 2 * Pi + 0.02])
> > The result is the entire interval [-1 .. +1].
> >
> > Is there a way to do something like this (for any analytic function,
> > not just sin)?
>
> No, sorry. PARI does not support interval arithméric.
> Your best bet is mpfi.
OK, thanks!
Neven