Skip to content Skip to sidebar Skip to footer
Showing posts with the label Mpmath

Typeerror: Cannot Cast Array Data From Dtype('o') To Dtype('float64') According To The Rule 'safe'

I need to make an integral of the type g(u)jn(u) where g(u) is a smooth function without zeros and … Read more Typeerror: Cannot Cast Array Data From Dtype('o') To Dtype('float64') According To The Rule 'safe'

Elementwise Operations In Mpmath Slow Compared To Numpy And Its Solution

I have some calculations that involve factorials that explode pretty fast so I resolved to use the … Read more Elementwise Operations In Mpmath Slow Compared To Numpy And Its Solution