source:
MML/trunk/machine/SOLEIL/common/toolbox/chebfun_v2_0501/chebfun/chebtests/exact_endpoints.m
@
4
Last change on this file since 4 was 4, checked in by , 10 years ago | |
---|---|
File size: 268 bytes |
Line | |
---|---|
1 | function pass =exact_endpoints |
2 | |
3 | % Test whether endpoints are interpolated (exactly): |
4 | % Rodrigo Platte, May 2009 |
5 | |
6 | s = chebfunpref('splitting'); |
7 | splitting on |
8 | |
9 | f = chebfun(@(x) sin(500*x)); |
10 | ends = f.ends; |
11 | pass = all(f(ends) == sin(500*ends)); |
12 | |
13 | chebfunpref('splitting',s); |
Note: See TracBrowser
for help on using the repository browser.