source: MML/trunk/machine/SOLEIL/common/toolbox/chebfun_v2_0501/chebfun/chebtests/eigsho.m @ 4

Last change on this file since 4 was 4, checked in by zhangj, 11 years ago

Initial import--MML version from SOLEIL@2013

File size: 180 bytes
Line 
1function pass = eigsho
2
3tol = chebfunpref('eps');
4d = domain(0,pi);
5A = diff(d,2) & 'dirichlet';
6lam = eigs(A,10);
7k = sqrt(-lam);
8
9pass = norm( k - (1:10)', Inf ) < 1000*tol;
10
11
12
Note: See TracBrowser for help on using the repository browser.