GithubHelp home page GithubHelp logo

a minor error in chebtech? about chebfun HOT 4 CLOSED

chebfun avatar chebfun commented on June 11, 2024
a minor error in chebtech?

from chebfun.

Comments (4)

aaustin141 avatar aaustin141 commented on June 11, 2024

Interesting find. The documentation clearly says this should be "cheb1" or "cheb2", but it looks like this doesn't cause problems presently because the "tech" preference from the higher layers gets merged down, and those layers set the preference value to "chebtech1" if necessary.

This should get fixed when we overhaul preferences after the rest of chebfun is in place.

from chebfun.

nickhale avatar nickhale commented on June 11, 2024

I think this was a change to the code which didn't get followed up in the documentation.

It seems weird to tell the factory method to use the 'cheb1' tech when this is actually called 'chebtech1'.

from chebfun.

kuanxu avatar kuanxu commented on June 11, 2024

So from now on, we stick to 'chebtech1' and 'chebtech2' in chebtech.pref and other similar places, right?

from chebfun.

aaustin141 avatar aaustin141 commented on June 11, 2024

@nickhale I think the reason we used "cheb1" and "cheb2" was because, at the time, we were thinking of chebtech as being the tech and the discretization points as being an option or preference.

@kuanxu Yes, I think that's what we will do, but we shouldn't worry about it right this moment, as any changes that get made will probably be overwritten when we go to improve preferences later.

from chebfun.

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.