[C++-sig] how to call array with None argument
Jonathan Brandmeyer
jbrandmeyer at earthlink.net
Sat Feb 26 14:58:25 CET 2005
On Fri, 2005-02-25 at 16:09 -0700, Charles R Harris wrote:
> Hello all,
>
> I have noticed that in numarray the call
>
> a = array(None,shape=(2,2))
>
> will create a uninitialized array of dimension (2,2). However, I am
> unable to figure out how to use the array factory in boost to create an
> array with this call. Anyone have suggestions?
The default constructor for class object creates a reference to PyNone.
HTH,
-Jonathan
More information about the Cplusplus-sig
mailing list