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

📄 mass.m

📁 GloptiPoly 3: moments, optimization and semidefinite programming. Gloptipoly 3 is intended to so
💻 M
字号:
function y = mass(x)% @MPOL/MASS - Measure mass%% MASS(X) returns the mass (type MOM) of the unique measure associated% with the polynomial X%% Equivalent to MASS(MEAS(X))% D. Henrion, 15 March 2006  global MMMmeasx = indmeas(x);if length(measx) > 1 error('More than one measure associated with input argument')elseif measx == 0 error('Undefined measure')else ind = find(MMM.indmeas == measx); if isempty(ind)  error('Undefined measure') end % Create moment of zeroth power of this measure y = mom(1,measx);end

⌨️ 快捷键说明

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