[Numpy-discussion] kron produces F-contiguous?

Lisandro Dalcin dalcinl at gmail.com
Mon Sep 6 19:40:56 EDT 2010


On 2 September 2010 09:27, Neal Becker <ndbecker2 at gmail.com> wrote:
> Lisandro Dalcin wrote:
>
>> On 1 September 2010 19:24, Neal Becker <ndbecker2 at gmail.com> wrote:
>>> It seems if I call kron with 2 C-contiguous arrays, it returns an F-
>>> contiguous array.  Any reason for this (it's not what I wanted)?
>>>
>>
>> Try numpy.linalg.inv ...
>>
>>
>
> I don't understand.  What has linalg.inv got to do with kronecker product?
>

Sorry, incomplete mail...

numpy.linalg.inv behave exactly like that. There are many functions
that return F arrays for C inputs.


-- 
Lisandro Dalcin
---------------
CIMEC (INTEC/CONICET-UNL)
Predio CONICET-Santa Fe
Colectora RN 168 Km 472, Paraje El Pozo
Tel: +54-342-4511594 (ext 1011)
Tel/Fax: +54-342-4511169



More information about the NumPy-Discussion mailing list