pow.m

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

M
17
字号
function y = pow(x)
% @MPOL/POW - Internal use only

% POW(X) returns a matrix of powers of monomials in scalar polynomial X.
%
% Note that powers corresponding to the zero variable
% are indices of the mass of the measures

% D. Henrion, November 30, 2003

if max(size(x)) > 1
 error('Scalar polynomials only')
end

y = x.pow;

⌨️ 快捷键说明

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