Re: [Numpy-discussion] linalg.det for fractions

2021-05-16 Thread Oscar Benjamin
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

Re: [Numpy-discussion] linalg.det for fractions

2021-05-16 Thread Eric Wieser
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

[Numpy-discussion] linalg.det for fractions

2021-05-16 Thread Shashwat Jaiswal
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