public inbox for gentoo-science@lists.gentoo.org
 help / color / mirror / Atom feed
From: "François Bissey" <fbissey@slingshot.co.nz>
To: gentoo-science@lists.gentoo.org
Subject: Re: [gentoo-science] Re: polynomial arithmetic
Date: Wed, 16 Apr 2014 19:06:57 +1200	[thread overview]
Message-ID: <71bdd164248134ae33d796d2181d8bbe@slingshot.co.nz> (raw)
In-Reply-To: <534E225B.8080204@gentoo.org>

On 2014-04-16 18:25, Thomas Kahle wrote:
> On 16/04/14 08:15, grozin@gentoo.org wrote:
>> On Sun, 13 Apr 2014, hasufell wrote:
>>> I'm looking for a C lib that can do basic polynomial arithmetic as 
>>> well
>>> as algebraic stuff like modular inverse.
>> Maybe GiNaC. It definitely can do polynomials.
>> 
>> Another possibility is pari. It can be used as a library, not only via
>> gp. It is highly optimized and efficient.
> 
> I'm pretty sure that this can be done in sage.  You could see
> which library they use under the hood.  Taking this to
> sci-mailing list, there your question gets a lot more attention.
> 
Definitely can be done in sage. What they use under the hood depends
on the ring the polynomial are defined over. But I think for most
applications singular is used.

I wouldn't say singular is very basic. At a more basic level you
may be able to use python with numpy:
http://docs.scipy.org/doc/numpy/reference/routines.polynomials.polynomial.html
And of course maxima can do some stuff with polynomial too
http://maxima.sourceforge.net/docs/manual/en/maxima_14.html

François


  reply	other threads:[~2014-04-16  7:07 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <534AA6A3.9020808@gentoo.org>
     [not found] ` <alpine.LRH.2.11.1404161313010.15766@star.inp.nsk.su>
2014-04-16  6:25   ` [gentoo-science] Re: polynomial arithmetic Thomas Kahle
2014-04-16  7:06     ` François Bissey [this message]
2014-04-16  7:13       ` François Bissey
2014-04-16  7:31         ` Burcin Erocal

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=71bdd164248134ae33d796d2181d8bbe@slingshot.co.nz \
    --to=fbissey@slingshot.co.nz \
    --cc=gentoo-science@lists.gentoo.org \
    /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