Mercurial > octave
view CITATION @ 30224:8670f5165430
use distinct classes for interleaved and separate numeric mxarray objects
This change is the first step to improving performance of the
conversion from numeric mxArray objects to octave_value objects when
the mxArray objects use interleaved complex storage or when the
arrays are real valued.
* mex.cc (class mxArray_base_full): Rename from mxArray_number.
(class mxArray_interleaved_full, class mxArray_separate_full):
New classes, derived from mxArray_base_full. These classes currently
do nothing different from mxArray_base_full except that the
interleaved argument is omitted from the constructors.
(class mxArray_base_sparse): Rename from mxArray_sparse.
(class mxArray_interleaved_sparse, class mxArray_separate_sparse):
New classes, derived from mxArray_base_sparse. These classes
currently do nothing different from mxArray_base_sparse except that
the interleaved argument is omitted from the constructors.
(mxArray::create_rep): Conditionally create distinct interleaved or
separate objects here.
author | John W. Eaton <jwe@octave.org> |
---|---|
date | Wed, 29 Sep 2021 16:25:10 -0400 |
parents | 844b3b9bab7a |
children | 8d7671609955 |
line wrap: on
line source
To cite GNU Octave in publications use: John W. Eaton, David Bateman, Søren Hauberg, Rik Wehbring (2020). GNU Octave version 6.1.0 manual: a high-level interactive language for numerical computations. URL https://www.gnu.org/software/octave/doc/v6.1.0/ A BibTeX entry for LaTeX users is: @manual{, title = {{GNU Octave} version 6.1.0 manual: a high-level interactive language for numerical computations}, author = {John W. Eaton and David Bateman and S{\o}ren Hauberg and Rik Wehbring}, year = {2020}, url = {https://www.gnu.org/software/octave/doc/v6.1.0/}, } We have invested a lot of time and effort in creating GNU Octave, please cite it when using it. See also 'citation pkgname' for citing Octave packages.