[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Cast Matrix to C++ array
From: |
Andy Buckle |
Subject: |
Re: Cast Matrix to C++ array |
Date: |
Wed, 5 Jan 2011 08:19:28 +0000 |
On Wed, Jan 5, 2011 at 7:26 AM, Surfing <address@hidden> wrote:
> Hi all,
> is there a way to do a "fast" cast from a Matrix octave type to an C++
> bi-dimensional double array?
> Or the only way is doing it element by element?
"
— Method: T* fortran_vec (void)
This method returns a pointer to the underlying data of the matrix
or a array so that it can be manipulated directly, either within
Octave or by an external library.
"
http://www.gnu.org/software/octave/doc/interpreter/Matrices-and-Arrays-in-Oct_002dFiles.html#Matrices-and-Arrays-in-Oct_002dFiles
--
/* andy buckle */
- Cast Matrix to C++ array, Surfing, 2011/01/05
- Re: Cast Matrix to C++ array,
Andy Buckle <=
- Message not available
- Re: Cast Matrix to C++ array, Andy Buckle, 2011/01/05
- structures in oct files, jacques.beilin, 2011/01/20
- Re: structures in oct files, Andy Buckle, 2011/01/20
- Re: structures in oct files, jacques.beilin, 2011/01/21
- Re: structures in oct files, Andy Buckle, 2011/01/21