Be the first to rate this file! 165 downloads (last 30 days) File Size: 9.89 KB File ID: #24576

InplaceArray: a semi-pointer package for Matlab

by Bruno Luong

 

28 Jun 2009 (Updated 01 Jul 2009)

Code covered by BSD License  

Manipulate (multi-dimensional) arrays in the in-place form

Download Now | Watch this File

File Information
Description

This package helps to create "children" arrays that share the same data as the mother array. The children array can be shaped any customized size for later manipulation.

In short it provides some sort of equivalent C-"pointer" where Matlab lacks.

Extreme cautious when using this package, otherwise encountered crashes and memory leaks warranty. For "advanced" users only.

SPARSE, STRUCTURE are currently not supported

ATTENTION: Serious bug in testinplace.m in the first submission. Before the new fixed version is submitted please do not run this function (the rest is OK)

MATLAB release MATLAB 7.8 (R2009a)
Other requirements mex setup Tested on 2006B-2009B
Zip File Content  
Other Files
InplaceArray/buildInternal_mxArrayDef.m,
InplaceArray/Contents.txt,
InplaceArray/FactoryInternal_mxArray.h,
InplaceArray/inplacearray.c,
InplaceArray/inplacearray.m,
InplaceArray/InplaceArray_install.m,
InplaceArray/inplacecolumn.m,
InplaceArray/Internal_mxArray.h,
InplaceArray/releaseinplace.c,
InplaceArray/releaseinplace.m,
InplaceArray/testinplace.m,
license.txt
Tags for This File  
Everyone's Tags
Tags I've Applied
Add New Tags Please login to tag files.
Please login to add a comment or rating.
Updates
29 Jun 2009

Correct a serious bug in testinplace.m (could cause computer crash)

29 Jun 2009

Important Comment

01 Jul 2009

Upload testinplace.m file with modifications reported previously (submission 2 & 3 upload wrong file, sorry)

Tag Activity for this File
Tag Applied By Date/Time
inplace Bruno Luong 29 Jun 2009 12:00:13
pointers Bruno Luong 29 Jun 2009 12:00:13
copyonwrite Bruno Luong 29 Jun 2009 12:00:13
data shared Bruno Luong 29 Jun 2009 12:00:13
 

MATLAB Central Terms of Use

NOTICE: Any content you submit to MATLAB Central, including personal information, is not subject to the protections which may be afforded information collected under other sections of The MathWorks, Inc. Web site. You are entirely responsible for all content that you upload, post, e-mail, transmit or otherwise make available via MATLAB Central. The MathWorks does not control the content posted by visitors to MATLAB Central and, does not guarantee the accuracy, integrity, or quality of such content. Under no circumstances will The MathWorks be liable in any way for any content not authored by The MathWorks, or any loss or damage of any kind incurred as a result of the use of any content posted, e-mailed, transmitted or otherwise made available via MATLAB Central. Read the complete Terms prior to use.

Contact us at files@mathworks.com