On 7/26/2010 8:18 PM, Skipper Seabold wrote:
> np.linalg.det(np.array([[2]]))
> #2.0
>
> which should either fail or if not, then I think np.linalg.det should
> handle scalars and scalars as 1d arrays

It should not fail, because it follows from standard definitions.
(E.g., it is the base case of a recursive definition.)
And it does not imply that the determinant is defined for anything but square 
matrices.

But I am still confused about the use case.
What is the scalar- (or 1d-array-) returning procedure
invokedbefore taking the determinant?

Cheers,
Alan Isaac

_______________________________________________
NumPy-Discussion mailing list
NumPy-Discussion@scipy.org
http://mail.scipy.org/mailman/listinfo/numpy-discussion

Reply via email to