Checks whether the Euclidean Hessian can be computed for a problem. function candoit = canGetEuclideanHessian(problem) Returns true if the Euclidean Hessian can be computed given the problem description, false otherwise. See also: canGetHessian getEuclideanGradient
0001 function candoit = canGetEuclideanHessian(problem) 0002 % Checks whether the Euclidean Hessian can be computed for a problem. 0003 % 0004 % function candoit = canGetEuclideanHessian(problem) 0005 % 0006 % Returns true if the Euclidean Hessian can be computed given the problem 0007 % description, false otherwise. 0008 % 0009 % See also: canGetHessian getEuclideanGradient 0010 0011 % This file is part of Manopt: www.manopt.org. 0012 % Original author: Nicolas Boumal, July 24, 2018. 0013 % Contributors: 0014 % Change log: 0015 0016 0017 candoit = isfield(problem, 'ehess'); 0018 0019 end