None.
Open in the MATLAB editor: f11ml_example
function f11ml_example fprintf('f11ml example results\n\n'); % Norms of sparse A n = int64(5); icolzp = [int64(1); 3; 5; 7; 9; 12]; irowix = [int64(1); 3; 1; 5; 2; 3; 2; 4; 3; 4; 5]; a = [ 2; 4; 1; -2; 1; 1; -1; 1; 1; 2; 3]; % Calculate 1-norm norm_p = '1'; [anorm, ifail] = f11ml( ... norm_p, n, icolzp, irowix, a); fprintf('One-norm = %7.3f\n', anorm); % Calculate Maximum norm_p = 'M'; [anorm, ifail] = f11ml( ... norm_p, n, icolzp, irowix, a); fprintf('Max = %7.3f\n', anorm); % Calculate I-norm norm_p = 'I'; [anorm, ifail] = f11ml( ... norm_p, n, icolzp, irowix, a); fprintf('Infinity-norm = %7.3f\n', anorm);
f11ml example results One-norm = 6.000 Max = 4.000 Infinity-norm = 6.000