Multiple precision matrices

paul zimmermann Paul.Zimmermann at inria.fr
Wed May 25 09:23:43 UTC 2016


> Does GMP provide the functionality of doing fast multiple precision matrix
> operations like addition, multiplication, etc?
> Or is there any other library available which builds upon GMP or otherwise
> provides these functionalities?
> I am building a system where I will be using matrices of multiple precision
> integers and performing some computations on them.

I recommend using Sage (sagemath.org):

sage: M=matrix(ZZ,3,3)
sage: M.randomize(x=-10^100,y=10^100)
sage: M
[ -513612155042366155586883091202130283021971469160244700927602658494084201878755202581808464207744667  7581855190545696519987469460532579071190037406596753390316025160733033950213185110992157610739741548  1527545301247466661191838640507636752742788758285837847440594521053794842357032701507429518687246555]
[ 8512813515929725399499749137982524543458102820733065406292308521047120256858945533253697635570336495 -7324043437751150516030758074689523785584575165562070179760272997474636296481500262739127588563569551 -6514189731462863395910425455527833188621818262492702809806693586005307568882472448353981232736375927]
[-6683465299968733142979375415766292806547941881852300609781712287283575241067040614909278729311423307  3875951468595970860866836437543978007671397784164824971150428602081274140875045864254013399362145485  -442847598020974965097561213275929013123125642032326748397233858575481498575707112435793700256060242]

Paul Zimmermann


More information about the gmp-discuss mailing list