view mftoolbox/mft_tolerance.m @ 8:a587712dcf5f draft default tip

funm_atom.m: rename fun_atom to funm_atom * funm_atom.m: rename fun_atom to funm_atom.
author Antonio Pino Robles <data.script93@gmail.com>
date Fri, 29 May 2015 09:48:36 +0200
parents 8f23314345f4
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;