source: proiecte/pmake3d/make3d_original/Make3dSingleImageStanford_version0.1/third_party/opt/yalmip/extras/@ndsdpvar/times.m @ 37

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

Added original make3d

File size: 314 bytes
Line 
1function F = times(X,Y)
2% times (overloaded)
3
4% Author Johan Löfberg
5% $Id: times.m,v 1.2 2006/07/28 06:27:01 joloef Exp $
6
7if isa(X,'ndsdpvar')
8    dim = X.dim;
9    X = sdpvar(X);
10else
11    X = X(:);
12end
13if isa(Y,'ndsdpvar')
14    dim = Y.dim;
15    Y = sdpvar(Y);
16else
17    Y = Y(:);
18end
19
20F = X.*Y;
21F = reshape(F,dim);
Note: See TracBrowser for help on using the repository browser.