Dynamic-Calibration/utils/YALMIP-master/extras/@lmi/getbase.m

9 lines
178 B
Mathematica
Raw Permalink Normal View History

2019-12-18 11:25:45 +00:00
function B = getbase(F)
F = flatten(F);
if length(F.clauses)>1
error('GETBASE can only be applied to a list with 1 constraint')
else
B = getbase(F.clauses{1}.data);
end