source:
proiecte/pmake3d/make3d_original/Make3dSingleImageStanford_version0.1/third_party/opt/yalmip/extras/@ndsdpvar/reshape.m
@
37
Last change on this file since 37 was 37, checked in by , 14 years ago | |
---|---|
File size: 298 bytes |
Rev | Line | |
---|---|---|
[37] | 1 | function Y=reshape(varargin) |
2 | %RESHAPE (overloaded) | |
3 | ||
4 | % Author Johan Löfberg | |
5 | % $Id: reshape.m,v 1.2 2006/07/13 19:40:59 joloef Exp $ | |
6 | ||
7 | Y = varargin{1}; | |
8 | % simple hack to figure out new sizes | |
9 | temp = reshape(ones(size(Y.basis,1),1),varargin{2:end}); | |
10 | Y.conicinfo = [0 0]; | |
11 | Y.dim = size(temp); | |
12 | Y = clean(Y); |
Note: See TracBrowser
for help on using the repository browser.