GithubHelp home page GithubHelp logo

Comments (1)

davidagross avatar davidagross commented on May 29, 2024

Hi everyone! Long time no see.

While I've been watching your work much less closely than I used to, the closure here did come across my inbox as a bit of a surprise. Going back into #1026 we can see that vscales are still not the same for f1, f2, and f3 as defined here:

>> f1 = chebfun(@(t) t.^0.5./exp(t), [0,inf], 'exps', [0.5 0])
>> f2 = chebfun(@(t) t.^0.5./exp(t), [0,1,inf], 'exps', [0.5 0 0 0])
>> f3 = f1; f3(1) = f3(1)
>> table([sum(f1); sum(f2); sum(f3)],[max(f1); max(f2); max(f3)],[f1.vscale;f2.vscale;f3.vscale],'VariableNames',{'sums','maxes','vscales'})

f1 =

   chebfun column (1 smooth piece)
       interval       length     endpoint values   endpoint exponents
[       0,     Inf]       44         0   -1e-15         [0.5      0]  
vertical scale = 2.7 


f2 =

   chebfun column (2 smooth pieces)
       interval       length     endpoint values   endpoint exponents
[       0,       1]       13         0     0.37         [0.5      0]  
[       1,     Inf]       61      0.37 -4.6e-16         [0      0]  
vertical scale = 0.71    Total length = 74


f3 =

   chebfun column (2 smooth pieces)
       interval       length     endpoint values   endpoint exponents
[       0,       1]       11         0     0.37         [0.5      0]  
[       1,     Inf]       60      0.37 -9.6e-16         [0      0]  
vertical scale = 0.71    Total length = 71


ans =

  3×3 table

          sums                 maxes               vscales     
    _________________    _________________    _________________

    0.886226925452756    0.428881942480354     2.73861278752584
    0.886226925452754    0.428881942480353    0.707106781186547
    0.886226925452759    0.428881942480349    0.707106781186632

While the sum (has been fixed and) is correct, the vertical scales are still quite off (by factors of almost 2 or 6 pretty much).

I'm just chiming in to make sure that this issue is still sufficiently tracked in, say, #1633 (even though a vscale discrepancy isn't actually documented there in this detail).

Thanks, and hope you all are doing well!

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.