Creating an Octave Matrix by reference

John W. Eaton jwe at octave.org
Tue Mar 24 10:54:41 CDT 2009


On 24-Mar-2009, Jan Albersmeyer wrote:

| Does anybody know if it is possible to achieve this behaviour ?

The original reason for the design was to improve reliability by
allowing Octave to ensure that the allocated memory and dimension are
always consistent.

But if you think it should change, then propose changes to the Array
class that allow what you want to do.  I can't guarantee that any
proposed changes will be accepted, but a patch would at least provide
a place to start a discussion about such a feature.

jwe


More information about the Help-octave mailing list