Alasdair McAndrew on Wed, 28 Jul 2021 08:46:24 +0200
[
Date Prev
] [
Date Next
] [
Thread Prev
] [
Thread Next
] [
Date Index
] [
Thread Index
]
Turning a polynomial into a function?
To
: pari-users <
pari-users@pari.math.u-bordeaux.fr
>
Subject
: Turning a polynomial into a function?
From
: Alasdair McAndrew <
amca01@gmail.com
>
Date
: Wed, 28 Jul 2021 16:46:07 +1000
Delivery-date
: Wed, 28 Jul 2021 08:46:24 +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=mG6u7VbkvswqNPw8jPdNRZ7rnr0+jsk7l5tuU+WUQjY=; b=uNQxE/Z/1IvaBIMSAfyCIyMiLB0yzJ5W3lBwc/MbO2gMTp2YhqlM6WxDcYb4TNDm+E dOCpnoQYLYijIgfOZlyNNmLvyiCzExwmsFsOOUwdKmxPzC+fXaHN+J3QpMS/C5i4bOPE JbHCxS5B+pvBOwQ1hFtSZ3Gwi2v6MGJk6u0bLCvpCGGzKaRPklSpohF1XaKgv6KZKBpH iQTywzV5E6vmJ8QnO4Wn2MgvGRf6eGQmtytF9duMbKzVMq7+m/R3/N4CMwL1t67HSiAa Hrp1927gDsEVcWavydN683NUGCghmjfhsprbnZHp9iey19aMQdnKUjBvfdFW1X1yNwJI koMw==
I have a polynomial p in x returned by "polinterpolate", so that p is of type t_POL.. The only way I've found of turning it into a function is with
> p2(y) = subst(p, 'x, y)
Is this the best, or standard way to do it?
Thanks,
Alasdair
https://numbersandshapes.net
Follow-Ups
:
Re: Turning a polynomial into a function?
From:
Bill Allombert <Bill.Allombert@math.u-bordeaux.fr>
Prev by Date:
Re: Making a polynomial and evaluating it many times from C++
Next by Date:
Re: Turning a polynomial into a function?
Previous by thread:
Re: Making a polynomial and evaluating it many times from C++
Next by thread:
Re: Turning a polynomial into a function?
Index(es):
Date
Thread