Dynamic-Calibration/utils/YALMIP-master/extras/@ncvar/parametric.m

21 lines
427 B
Mathematica
Raw Normal View History

2019-12-18 11:25:45 +00:00
function x = parametric(x)
%PARAMETRIC Defines a variable as parametric
%
% F = PARAMETRIC(x) is used to describe the set of parametric variables
% in a multi-parametric program, as an alternative to using the 4th input
% in SOLVEMP
%
%
% INPUT
% x : SDPVAR object
%
% OUTPUT
% F : Constraint object
%
% EXAMPLE
% F = parametric(x);
%
% See also SOLVEMP, SDPVAR
x.typeflag = 13;
x = lmi(x);