help-octave
[Top][All Lists]
Advanced

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

Re: "Matrix" pointer -- equivalent to C


From: David Bateman
Subject: Re: "Matrix" pointer -- equivalent to C
Date: Thu, 24 Apr 2003 18:42:47 +0200
User-agent: Mutt/1.3.28i

According to Nhi.Anh Chu <address@hidden> (on 04/24/03):
> Hi Everyone:
> 
> I have a simple question:
> 
> Matrix M(x, y);
> 
> double *MC;
> MC = new (double) [x*y];

Matrix M(x, y);
double *MC = M.fortran_vec();

Warning, indexing of MC is fortran fashion which is the reverse of C

D.

-- 
David Bateman                                address@hidden
Motorola CRM                                 +33 1 69 35 25 00 (Ph)
Espace Technologique, Commune de St Aubin    +33 1 69 35 25 01 (Fax)
91193 Gif-Sur-Yvette FRANCE

The information contained in this communication has been classified as: 

[x] General Business Information 
[ ] Motorola Internal Use Only 
[ ] Motorola Confidential Proprietary



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

Octave's home on the web:  http://www.octave.org
How to fund new projects:  http://www.octave.org/funding.html
Subscription information:  http://www.octave.org/archive.html
-------------------------------------------------------------



reply via email to

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