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