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 zhangj, 10 years ago

Initial import--MML version from SOLEIL@2013

File size: 268 bytes
Line 
1function pass =exact_endpoints
2
3% Test whether endpoints are interpolated (exactly):
4% Rodrigo Platte, May 2009
5
6s = chebfunpref('splitting');
7splitting on
8
9f = chebfun(@(x) sin(500*x));
10ends = f.ends;
11pass = all(f(ends) == sin(500*ends));
12
13chebfunpref('splitting',s);
Note: See TracBrowser for help on using the repository browser.