📄 hull.m
字号:
function [Fhull,t] = hull(varargin)
% HULL Construct a model of the convex hull
%
% H = hull(F1,F2,...)
%
% OUTPUT
% H : SET object describing the convex hull of the input constraints
%
% INPUT
% Fi : SET objects with constraints
%
% Note that the convex representation of the convex hull requires a lifting
% (introduction of new variables). Hence, if you have many set of
% constraints, your problem rapidly grows large.
% $Id: hull.m,v 1.2 2008/02/14 14:53:36 joloef Exp $
for i = 1:nargin
if isa(varargin{i},'constraint')
varargin{i} = set(varargin{i});
end
end
% Call the hull operator from the set
[Fhull,t] = hull(varargin{:});
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -