Home > manopt > core > canGetLinesearch.m

canGetLinesearch

PURPOSE ^

Checks whether the problem structure can give a line-search a hint.

SYNOPSIS ^

function candoit = canGetLinesearch(problem)

DESCRIPTION ^

 Checks whether the problem structure can give a line-search a hint.

 function candoit = canGetLinesearch(problem)

 Returns true if the the problem description includes a mechanism to give
 line-search algorithms a hint as to "how far to look", false otherwise.

 See also: getLinesearch

CROSS-REFERENCE INFORMATION ^

This function calls: This function is called by:

SOURCE CODE ^

0001 function candoit = canGetLinesearch(problem)
0002 % Checks whether the problem structure can give a line-search a hint.
0003 %
0004 % function candoit = canGetLinesearch(problem)
0005 %
0006 % Returns true if the the problem description includes a mechanism to give
0007 % line-search algorithms a hint as to "how far to look", false otherwise.
0008 %
0009 % See also: getLinesearch
0010 
0011 % This file is part of Manopt: www.manopt.org.
0012 % Original author: Nicolas Boumal, July 17, 2014.
0013 % Contributors:
0014 % Change log:
0015 
0016 
0017     candoit = isfield(problem, 'linesearch');
0018     
0019 end

Generated on Fri 30-Sep-2022 13:18:25 by m2html © 2005