source:
MML/trunk/machine/SOLEIL/common/toolbox/chebfun_v2_0501/chebfun/chebtests/testpoly.m
@
4
Last change on this file since 4 was 4, checked in by , 11 years ago | |
---|---|
File size: 177 bytes |
Line | |
---|---|
1 | function pass = testpoly |
2 | % Tests the function poly. Rodp, Feb 2009. |
3 | |
4 | c = rand(1,5); |
5 | f = chebfun(@(x) polyval(c,x), [-2 10],5); |
6 | pass = norm(c - poly(f)) < chebfunpref('eps')*1e5; |
Note: See TracBrowser
for help on using the repository browser.