view mftoolbox/mft_tolerance.m @ 0:8f23314345f4 draft

Create local repository for matrix toolboxes. Step #0 done.
author Antonio Pino Robles <data.script93@gmail.com>
date Wed, 06 May 2015 14:56:53 +0200
parents
children
line wrap: on
line source

function tol = mft_tolerance(A)
%MFT_TOLERANCE   Convergence tolerance for matrix iterations.
%   TOL = MFT_TOLERANCE(A) returns a convergence tolerance to use in
%   the matrix iterations in the Matrix Function Toolbox applied to the
%   matrix A.  All functions in the toolbox call this function to set
%   the convergence tolerance.

tol = sqrt(length(A))*eps/2;