source: proiecte/pmake3d/make3d_original/Make3dSingleImageStanford_version0.1/third_party/opt/yalmip/@sdpvar/uplus.m @ 37

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

Added original make3d

File size: 340 bytes
Line 
1function Z = uplus(Y)
2%UPLUS (overloaded)
3
4% Author Johan Löfberg
5% $Id: uplus.m,v 1.3 2005/06/17 13:02:01 joloef Exp $   
6
7if isa(Y,'blkvar')
8    Y = sdpvar(Y);
9end
10
11switch Y.typeflag
12case {0,5}
13        Z = Y;
14case {1,3,4}
15        error('Relational objects canot be manipulated')
16otherwise
17        error('Please report internal bug in sdpvar/uplus')   
18end
19
Note: See TracBrowser for help on using the repository browser.