Matlab is extremely good at vectorized operations such as this, at least for large vectors.
Only those values of p which can reasonably and X^p and x.^p, where x is a real variable and and p The polynomial must be affine, convex, or concave, and Polyval(x,p) constructs a polynomial function of the variable
Solver, achieving the same final precision. Other solvers, these functions are handled using a successiveĪpproximation method which makes multiple calls to the underlying Most effectively by Mosek, the only bundled solver with support for theĮxponential cone upon which these functions are constructed. Models incorporating these functions will be solved