source: proiecte/pmake3d/make3d_original/Make3dSingleImageStanford_version0.1/third_party/opt/yalmip/dev/tests-mbg/sdpvar/sdpvar_power.m @ 37

Last change on this file since 37 was 37, checked in by (none), 14 years ago

Added original make3d

File size: 229 bytes
Line 
1function sdpvar_replace
2
3% Bugs reported from Didier Henrion
4x = sdpvar(1);
5y = ([1 1 1]*x).^(0:2);
6mbg_assertequal(getbase(y), getbase([1 x x^2]));
7
8x = sdpvar(1);
9y = x.^(0:2);
10mbg_assertequal(getbase(y), getbase([1 x x^2]));
11
Note: See TracBrowser for help on using the repository browser.