How about having linalg.det returning a fraction object when passed a numpy
matrix of fractions?
___
NumPy-Discussion mailing list
NumPy-Discussion@python.org
https://mail.python.org/mailman/listinfo/numpy-discussion
Numpy implements linalg.det by going through LAPACK, which only knows about
f4, f8, c8, and c16 data types.
Your request amounts to wanting an `O` dtype implementation. I think this
is a totally reasonable request as we already have such an implementation
for `np.matmul`; but it won't be particula
On Sun, 16 May 2021 at 10:46, Eric Wieser wrote:
>
> Numpy implements linalg.det by going through LAPACK, which only knows about
> f4, f8, c8, and c16 data types.
>
> Your request amounts to wanting an `O` dtype implementation. I think this is
> a totally reasonable request as we already have su