source:
proiecte/pmake3d/make3d_original/Make3dSingleImageStanford_version0.1/third_party/opt/yalmip/extras/getbasematrix.m
@
37
Last change on this file since 37 was 37, checked in by , 14 years ago | |
---|---|
File size: 252 bytes |
Rev | Line | |
---|---|---|
[37] | 1 | function y = getbasematrix(x,ind) |
2 | %GETBASEMATRIX (overloaded sdpvar/getbasematrix on double) | |
3 | ||
4 | % Author Johan Löfberg | |
5 | % $Id: getbasematrix.m,v 1.2 2004/07/02 08:17:30 johanl Exp $ | |
6 | ||
7 | if ind == 0 | |
8 | y = x; | |
9 | else | |
10 | y = spalloc(size(x,1),size(x,2),0); | |
11 | end |
Note: See TracBrowser
for help on using the repository browser.