[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

"Matrix" pointer -- equivalent to C

From: Nhi.Anh Chu
Subject: "Matrix" pointer -- equivalent to C
Date: Thu, 24 Apr 2003 11:22:10 -0400

Hi Everyone:

I have a simple question:

Matrix M(x, y);

double *MC;
MC = new (double) [x*y];

I want to matrix M to point to the same memory as the array MC. I looked
through the constructors and other C++ stuff defined for "Matrix" but
couldn't find the answer.

Thanks in advance.


Octave is freely available under the terms of the GNU GPL.

Octave's home on the web:
How to fund new projects:
Subscription information:

reply via email to

[Prev in Thread] Current Thread [Next in Thread]