Code covered by the BSD License  

Highlights from
Chebfun V4

image thumbnail

Chebfun V4

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

chebfunpreftest
function pass = chebfunpreftest
% Tests the chebfunpref options by getting and setting them
% to their default values.

% Pedro Gonnet, January 2011

% check all the settings, do a 'factory' last.
options = { 'splitting', 'minsamples', 'maxdegree', 'maxlength', 'splitdegree', 'resampling', 'domain', 'eps', 'sampletest', 'blowup', 'chebkind', 'extrapolate' , 'plot_numpts' , 'polishroots' , 'ADdepth' };
for i=1:length(options)
    chebfunpref( options{i} , chebfunpref( options{i} ) );
end;
chebfunpref('factory');

% if we made it here, all is well
pass = 1;

Contact us