[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[oct-file] How to construct an Array out of a pointer
From: |
Reza Housseini |
Subject: |
[oct-file] How to construct an Array out of a pointer |
Date: |
Mon, 1 Oct 2012 11:08:44 +0200 |
Hello list
I want to return to my Octave script a matrix form a oct-file. My
question is how do I convert an double* pointer into an array?
I tried this, but did not work:
Array<double&> myMatrix = new Array<double&>(sizeMyMatrix, *(myPointer));
I get errors of this type:
/usr/include/octave-3.6.1/octave/../octave/Array.h:143:6: error:
forming pointer to reference type ‘double&’
Thanks for your hints!
Cheers Reza
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [oct-file] How to construct an Array out of a pointer,
Reza Housseini <=