Home > manopt > core > getGlobalDefaults.m

getGlobalDefaults

PURPOSE ^

Returns a structure with default option values for Manopt.

SYNOPSIS ^

function opts = getGlobalDefaults()

DESCRIPTION ^

 Returns a structure with default option values for Manopt.

 function opts = getGlobalDefaults()

 Returns a structure opts containing the global default options such as
 verbosity level etc. Typically, global defaults are overwritten by solver
 defaults, which are in turn overwritten by user-specified options.
 See the online Manopt documentation for details on options.

 See also: mergeOptions

CROSS-REFERENCE INFORMATION ^

This function calls: This function is called by:

SOURCE CODE ^

0001 function opts = getGlobalDefaults()
0002 % Returns a structure with default option values for Manopt.
0003 %
0004 % function opts = getGlobalDefaults()
0005 %
0006 % Returns a structure opts containing the global default options such as
0007 % verbosity level etc. Typically, global defaults are overwritten by solver
0008 % defaults, which are in turn overwritten by user-specified options.
0009 % See the online Manopt documentation for details on options.
0010 %
0011 % See also: mergeOptions
0012 
0013 % This file is part of Manopt: www.manopt.org.
0014 % Original author: Nicolas Boumal, Dec. 30, 2012.
0015 % Contributors:
0016 % Change log:
0017 
0018 
0019     % There should be no reason to modify this file.
0020     % For better compatibility with future Manopt versions,
0021     % use the options structure of solvers.
0022     %
0023     % Really: don't modify it.
0024     
0025 
0026     % Verbosity level: 0 is no output at all. The higher the verbosity, the
0027     % more info is printed / displayed during solver execution.
0028     opts.verbosity = 3;
0029     
0030     % If debug is set to true, additional computations may be performed and
0031     % debugging information is outputed during solver execution.
0032     opts.debug = false;
0033     
0034     % Maximum number of store structures to store. If set to 0, caching
0035     % capabilities are not disabled, but the cache will be emptied at each
0036     % iteration of iterative solvers (more specifically: every time the
0037     % solver calls to purge the storedb).
0038     opts.storedepth = 20;
0039     
0040     % Maximum amount of time a solver may execute, in seconds.
0041     opts.maxtime = inf;
0042 
0043 end

Generated on Sat 12-Nov-2016 14:11:22 by m2html © 2005