source:
proiecte/pmake3d/make3d_original/Make3dSingleImageStanford_version0.1/third_party/opt/yalmip/extras/@lmi/sosd.m
@
37
Last change on this file since 37 was 37, checked in by , 14 years ago | |
---|---|
File size: 226 bytes |
Line | |
---|---|
1 | function [h,parvar,Q,v] = sosd(X) |
2 | % SOSD Returns sum-of-squares decomposition (if available) |
3 | |
4 | if ~is(X,'sos') |
5 | error('SOS decompositions are only available for SOS objects'); |
6 | else |
7 | [h,parvar,Q,v] = sosd(sdpvar(X)); |
8 | end |
Note: See TracBrowser
for help on using the repository browser.