[Numpy-discussion] np.dot and array order

Pauli Virtanen pav at iki.fi
Thu Dec 1 05:20:08 EST 2011


01.12.2011 03:31, josef.pktd at gmail.com kirjoitti:
[clip]
> I thought np.dot is Lapack based and favors fortran order, but if the
> second array is fortran ordered, then dot takes twice as long.

It uses C-LAPACK, and will make copies if the arrays are not in C-order.

-- 
Pauli Virtanen




More information about the NumPy-Discussion mailing list