numpy arbitrary precision linear algebra

前端 未结 5 874
被撕碎了的回忆
被撕碎了的回忆 2020-11-30 07:51

I have a numpy 2d array [medium/large sized - say 500x500]. I want to find the eigenvalues of the element-wise exponent of it. The problem is that some of the values are qui

5条回答
  •  野性不改
    2020-11-30 08:32

    As far as I know, numpy does not support higher than double precision (float64), which is the default if not specified.

    Try using this: http://code.google.com/p/mpmath/

    List of features (among others)

    Arithmetic:

    • Real and complex numbers with arbitrary precision
    • Unlimited exponent sizes / magnitudes

提交回复
热议问题