Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Using MPFR (mpreal) with Eigen3

Tags:

mpfr

eigen

I've seen on the Eigen3 website that there is an "unsupported" module for MPFR multi-precision data type. Does anyone know how reliable this is?

My main goal is not only to use mpreal, but complex < mpreal >.

like image 371
Nick Avatar asked Jun 10 '26 23:06

Nick


1 Answers

It works fine so far for me and gives as far as I can tell the correct results.

However you will run into problems when trying to do complex as others have pointed out that complex only works with built in datatypes. Currently I don't know how to produce arbitrary precission complex numbers.

like image 62
Blackclaws Avatar answered Jun 20 '26 13:06

Blackclaws



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!