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

Last change on this file was 17, checked in by zhangj, 10 years ago

To have a stable version on the server.

  • Property svn:executable set to *
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.