source:
proiecte/pmake3d/make3d_original/Make3dSingleImageStanford_version0.1/third_party/lightspeed/sameobject.m
@
177
Last change on this file since 177 was 37, checked in by , 15 years ago | |
---|---|
File size: 288 bytes |
Line | |
---|---|
1 | %SAMEOBJECT Object identity |
2 | % SAMEOBJECT(A,B) returns 1 if A and B are the same object. |
3 | % Specifically, whether their data pointers are the same. |
4 | % |
5 | % For example: |
6 | % a = 4; |
7 | % b = a; |
8 | % sameobject(a,b) % returns 1 |
9 | % sameobject(a,4) % returns 0 |
10 | |
11 | % Written by Thomas P Minka |
Note: See TracBrowser
for help on using the repository browser.