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