[Numpy-discussion] determinant of a scalar not handled

Alan G Isaac aisaac@american....
Mon Jul 26 16:48:37 CDT 2010


On 7/26/2010 12:45 PM, Skipper Seabold wrote:
> Right now np.linalg.det does not handle scalars or 1d (scalar) arrays.

I don't have a real opinion on changing this, but I am curious
to know the use case, as the current behavior seems
a) correct and b) to provide an error check.

Cheers,
Alan



More information about the NumPy-Discussion mailing list