Neven Sajko on Wed, 28 Jul 2021 15:43:40 +0200
|
[Date Prev] [Date Next] [Thread Prev] [Thread Next] [Date Index] [Thread Index]
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: 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 13:43:24 +0000
- Delivery-date: Wed, 28 Jul 2021 15:43:40 +0200
- Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:from:date:message-id:subject:to; bh=jRxQO280ZFDzODgyPsa2S/icxTEwjYGYhZKEpkGz2lQ=; b=hyeoyeBYfPxTuxpXWYb8VKz2MsBuadIcgfvsGJxPtIIrfCOknZdrPxl3+7J7RRo39f J2Vx7f6keblA9pREIH0mZkPFP3z3VU1+EQK9U9F4/WVw5hHC/+IDcH/zejLX1gJceReT bYeosnj+baokIwCHJaf9f1Is/pi3aA5G8tljSWyvOhF0xUEJclKMYuLpINpxVbZHN2mh CK3fpf/Levyp4D7tZWii4jPX4appv4Old7iUrgxWWZw9dgVEuiKNLF5QpRX74nmg9QPV FY/lrEwb6xY5Qe6hN6AHRi3i1pntuuwvyfz5WMTZmsgRA96YO8aYqIga/uGh0yd9iSd1 bu6g==
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)?
BTW., I'm not actually satisfied with Giac, among other reasons
because this feature does not work for my user defined function, which
is a power series. Giac also seems to be quite buggy in general.
Thanks,
Neven