Dynamic-Calibration/utils/YALMIP-master/extras/gammainc_x.m

23 lines
603 B
Mathematica
Raw Normal View History

2019-12-18 11:25:45 +00:00
function varargout = gammainc_x(varargin)
%GAMMAINC_X
switch class(varargin{1})
case 'double'
varargout{1} = gammainc(varargin{1},varargin{2});
case 'char'
operator = struct('convexity','none','monotonicity','none','definiteness','none','model','callback');
operator.convexhull = [];
operator.range = [0 1];
operator.domain = [1e-6 inf];
varargout{1} = [];
varargout{2} = operator;
varargout{3} = varargin{3};
otherwise
error('SDPVAR/GAMMAINC_X called with strange argument?');
end