python - Numpy Matrix inverse with float128 type -


i got matrix 'x' of float128 values , getting next error when:

> q = (inv(xt * x) * xt) * n > array type float128 unsupported in linalg 

where xt transposed x , n other float128 matrix. other operations matrix handled correctly transposing or matrix product.

yes need float128 case, otherwise results differing ones closer real values taking reference.

there no float128 data type in numpy. supported numpy data types can found here: http://docs.scipy.org/doc/numpy-1.10.1/user/basics.types.html

if need work around try use npy_longdouble numpy c api http://docs.scipy.org/doc/numpy-1.10.0/reference/c-api.dtype.html


Comments

Popular posts from this blog

ruby - Trying to change last to "x"s to 23 -

jquery - Clone last and append item to closest class -

c - Unrecognised emulation mode: elf_i386 on MinGW32 -