Code covered by the BSD License  

Highlights from
Chebfun

image thumbnail

Chebfun

by

 

30 Apr 2009 (Updated )

Numerical computation with functions instead of numbers.

Editor's Notes:

This file was selected as MATLAB Central Pick of the Week

linop_eye
function pass = linop_eye

% Checks the 10 by 10 realization of the identity operator.
% (A Level 3 chebtest)

d = domain(0,4);
I = eye(d);
pass = norm(I(10)-eye(10)) < eps;

Contact us