double.m

来自「GloptiPoly 3: moments, optimization and 」· M 代码 · 共 27 行

M
27
字号
function sol = double(M)% @MEAS/DOUBLE - Extract points for a finitely supported measure%% See also @MPOL/ASSIGN% D. Henrion, 3 April 2006% Modified on 23 December 2006  global MMMif length(M) > 1 error('Scalar measures only')endif ~isfield(MMM,'M') error('Measure with undefined moments')endif ~isfield(MMM.M{M.meas},'sol') error('Measure with undefined support')endif isempty(MMM.M{M.meas}.sol) error('Measure with empty support')endsol = MMM.M{M.meas}.sol;

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?