Dynamic-Calibration/utils/YALMIP-master/extras/@constraint/getlist.m

12 lines
269 B
Mathematica
Raw Normal View History

2019-12-18 11:25:45 +00:00
function [F,strict,LMIIdentifiers,tags] = getlist(X)
% Internal class for constraint lists
F = X.Evaluated;
strict = X.strict;
LMIIdentifiers = X.ConstraintID;
tags = X.tag;
% FIX : treat equalities better
if isequal(X.List{2},'==')
F{1}=sethackflag(F{1},3);
end