source: MML/trunk/machine/SOLEIL/common/toolbox/chebfun_v2_0501/chebfun/chebtests/chebdomain.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: 324 bytes
Line 
1function pass = chebdomain
2% tests for calls of the chebfun constructor using the domain class.
3% R. Platte 12 Sept 2008
4
5d = domain(0,30);
6
7f1 = chebfun(@(x) exp(-x), d, 10);
8f2 = chebfun(@(x) exp(-x), [0 30], 10);
9
10f3 = chebfun(@(x) exp(-x), d);
11f4 = chebfun(@(x) exp(-x), [0 30]);
12
13pass= isequal(f1,f2) && isequal(f3,f4);
Note: See TracBrowser for help on using the repository browser.