⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 consistent.m

📁 GloptiPoly 3: moments, optimization and semidefinite programming. Gloptipoly 3 is intended to so
💻 M
字号:
function f = consistent(x)% @MOM/CONSISTENT - Internal use only  % Check whether a scalar moment object is consistent with the% defined measures and variables - used in MDEF% D. Henrion, 23 March 2006p = x(1).split;m = x(1).meas;n = length(p);f = true(1,n);for k = 1:length(p) % Each polynomial should correspond to one measure only mp = indmeas(p(k)); if (length(mp) > 1) | ((mp ~= 0) & (mp ~= m(k)))  f(k) = false; endendf = all(f);

⌨️ 快捷键说明

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