On 20 May 2012 21:59, Pauli Virtanen wrote:
> Hi,
>
>
> # OK, but slow
> cdef double[:,:] a = np.zeros((10, 10), float)
>
> # OK, fast (no Python object)
> cdef double[10] a
>
> # OK, but slow, makes Python calls (-> cython.view array)
> cdef double[10*10]
Hi,
# OK, but slow
cdef double[:,:] a = np.zeros((10, 10), float)
# OK, fast (no Python object)
cdef double[10] a
# OK, but slow, makes Python calls (-> cython.view array)
cdef double[10*10] a_
cdef double[:,:] a = (a_)
# not allo
On 20 May 2012 15:03, mark florisson wrote:
> Hey,
>
> For my gsoc we already have some simple initial ideas, i.e.
> elementwise vector expressions (a + b with a and b arrays with
> arbitrary rank), I don't think these need any discussion. However,
> there are a lot of things that haven't been for
Hey,
For my gsoc we already have some simple initial ideas, i.e.
elementwise vector expressions (a + b with a and b arrays with
arbitrary rank), I don't think these need any discussion. However,
there are a lot of things that haven't been formally discussed on the
mailing list, so here goes.
Fréd
On Wed, May 16, 2012 at 9:34 AM, Stefan Behnel wrote:
> Andreas van Cranenburgh, 16.05.2012 18:15:
>> Any news on this? Let me know if there's anything I can do to help inclusion
>> of this patch.
>
> Could someone please take over here?
>
> https://github.com/cython/cython/pull/113
>
> I haven't