source: MML/trunk/machine/SOLEIL/common/toolbox/chebfun_v2_0501/chebfun/chebtests/restrictimps.m @ 4

Last change on this file since 4 was 4, checked in by zhangj, 11 years ago

Initial import--MML version from SOLEIL@2013

File size: 268 bytes
Line 
1function pass = restrictimps
2% Test handling of the imps matrix by restrict
3% RodP 18/12/2008
4
5splitting on
6
7f = chebfun(@(x) sign(x)+sin(x));
8g = diff(f);
9h = g{-0.8, 0.7};
10IM = [[g(-0.8); 0] g.imps(:,2) [g(0.7); 0]];
11pass = norm(h.imps - IM) < 10*chebfunpref('eps');
Note: See TracBrowser for help on using the repository browser.