Git Product home page Git Product logo

Comments (3)

dlfivefifty avatar dlfivefifty commented on June 16, 2024

Yes clenshaw is linear in x, so this is just evaluation. I guess there should be an ::Complex

On 8 Dec 2014, at 6:26 pm, Gustavo Goretkin [email protected] wrote:

clenshaw tries to take imag of non-real numbers, and breaks evaluation at a complex x into
clenshaw(c,real(x))+im*clenshaw(c,imag(x)). Does this correspond to evaluating the polynomial at a complex point or is it something else?

I am trying to evaluate the polynomial at a Dual number, and I don't think this is the behavior I want.


Reply to this email directly or view it on GitHub #60.

from approxfun.jl.

goretkin avatar goretkin commented on June 16, 2024

I might be misunderstanding what "linear in x" means, but if it is true that
x1*clenshaw(c,x1) + x2* clenshaw(c,x2) == clenshaw(c,w1*x1+w2*x2)
then doesn't that mean that c must describe a linear polynomial going through the origin? I would expect that it is linear in the coefficients c.

from approxfun.jl.

dlfivefifty avatar dlfivefifty commented on June 16, 2024

Oh yeah, you’re right… I think the implementation is wrong and needs to be fixed

On 8 Dec 2014, at 6:44 pm, Gustavo Goretkin [email protected] wrote:

I might be misunderstanding what "linear in x" means, but if it is true that
x1_clenshaw(c,x1) + x2_ clenshaw(c,x2) == clenshaw(c,w1_x1+w2_x2)
then doesn't that mean that c must describe a linear polynomial going through the origin? I would expect that it is linear in the coefficients c.


Reply to this email directly or view it on GitHub #60 (comment).

from approxfun.jl.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.