source: proiecte/pmake3d/make3d_original/Make3dSingleImageStanford_version0.1/third_party/lightspeed/@mutable/immutable.m @ 37

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

Added original make3d

  • Property svn:executable set to *
File size: 409 bytes
Line 
1function v = immutable(mut)
2%IMMUTABLE     Convert to an ordinary (immutable) object.
3% immutable(v) returns an immutable copy of the mutable object v, i.e.
4% converts v into an ordinary Matlab value.
5%
6% Examples:
7%   x = mutable([1 2 3]);
8%   sum(x)  % fails
9%   sum(immutable(x))  % returns 6
10
11% Written by Tom Minka
12% (c) Microsoft Corporation. All rights reserved.
13
14v = fromJava(mut.obj);
Note: See TracBrowser for help on using the repository browser.