> On Tue, 11 May 2010 12:24:42 +0200, "Ger van Diepen"
> said:
> AFAIK there are no standard converters for the numpy scalar types to
> C++ types. In pyrap it is solved by having explicit converters for
> numpy scalar types to C++ types (see pyrap.googlecode.com).
> Cheers, Ger
Cou
he array ?
Thanks in advance,
Jean-Charles
De : Ger van Diepen [mailto:die...@astron.nl]
Envoyé : mardi 11 mai 2010 12:25
À : QUILLET Jean-Charles; cplusplus-sig@python.org
Objet : [Spam Probable] Re: [C++-sig] Trouble converting data from
numpy.array to c++
Hi Jean-Charles,
AFAIK there
-Charles
-Message d'origine-
De : Andreas Kloeckner [mailto:li...@informa.tiker.net]
Envoyé : mardi 11 mai 2010 17:46
À : QUILLET Jean-Charles; 'cplusplus-sig@python.org'
Objet : Re: [C++-sig] Trouble converting data from numpy.array to c++
Hi Jean-Charles,
On Tue, 11 May 2010
Hi Jean-Charles,
On Tue, 11 May 2010 11:32:08 +0200, QUILLET Jean-Charles
wrote:
> I've got this problem I cannot solve. I've a c++ application from which I
> create an array sending to python this string:
>
> anArray = numpy.array((1, 2, 3))
>
> After extracting the symbol "anArray" from the
n Diepen [mailto:die...@astron.nl]
Envoyé : mardi 11 mai 2010 12:25
À : QUILLET Jean-Charles; cplusplus-sig@python.org
Objet : [Spam Probable] Re: [C++-sig] Trouble converting data from numpy.array
to c++
Hi Jean-Charles,
AFAIK there are no standard converters for the numpy scalar types to C++ types.
I
Hi Jean-Charles,
AFAIK there are no standard converters for the numpy scalar types to C++
types.
In pyrap it is solved by having explicit converters for numpy scalar
types to C++ types (see pyrap.googlecode.com).
Cheers,
Ger
>>> QUILLET Jean-Charles 05/11/10 11:38 AM >>>
Hi,
I've got this pro
Hi,
I've got this problem I cannot solve. I've a c++ application from which I
create an array sending to python this string:
anArray = numpy.array((1, 2, 3))
After extracting the symbol "anArray" from the directory in a
boost::python::object, I'm trying to extract the values in C++:
int val =