Comments (1)
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)
- Chebfun2 mtimes bug
- Minor typo in chebop documentation HOT 1
- Newton method in hermpts_rec can be improved
- Implementation of Fourier derivatives (inconsistency between "Spectral Methods in MATLAB" and chebfun) HOT 1
- bug in minimax
- trigcoeffs does not respect domain HOT 2
- Spin with non-constant coefficients HOT 1
- Overheads in piecewise construction
- I am getting this error Non-integer difference in the exponents of the two SINGFUN objects HOT 1
- More efficient representation of trigonometric series possible? HOT 2
- bug in minimax HOT 1
- Diskfun PhaseTwo constructor fails to resolve f(t, r) = r in default maxLength HOT 12
- AAA may return incorrect final error HOT 2
- How to add forcing terms in spin? HOT 1
- spin produces wrong results when solve diffusion-reaction equations HOT 3
- A chebfun3 function failed to pass the vectorCheck() of chebfun2 HOT 3
- chebpoly(1e5) fails HOT 1
- The constructor chebfun3() cannot handle a chebfun3 function as an input in parfor loops.
- 2D mixed derivative in Gray-Scott example throwing error HOT 1
- chebfun.org expired? HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from chebfun.