source:
proiecte/pmake3d/make3d_original/Make3dSingleImageStanford_version0.1/third_party/opt/yalmip/extras/@lmi/isreal.m
@
37
Last change on this file since 37 was 37, checked in by , 14 years ago | |
---|---|
File size: 346 bytes |
Line | |
---|---|
1 | function YESNO = isreal(F) |
2 | %ISREAL (overloaded) |
3 | |
4 | % Author Johan Löfberg |
5 | % $Id: isreal.m,v 1.2 2005/02/04 10:10:27 johanl Exp $ |
6 | |
7 | if isempty(F.clauses) |
8 | YESNO = 1; |
9 | else |
10 | YESNO = 1; |
11 | i = 1; |
12 | while (i<=length(F.clauses)) & YESNO |
13 | Fi = F.clauses{i}; |
14 | YESNO = YESNO & is(Fi.data,'real'); |
15 | i =i+1; |
16 | end |
17 | end |
18 |
Note: See TracBrowser
for help on using the repository browser.