Skip to content

Instantly share code, notes, and snippets.

@idavydov
Last active April 8, 2016 11:37
Show Gist options
  • Save idavydov/eb4c88b4663a7240c92f to your computer and use it in GitHub Desktop.
Save idavydov/eb4c88b4663a7240c92f to your computer and use it in GitHub Desktop.
sample code for gonum/matrix bug #313
61 61
-1.0538868194077929e-226
4.00427173344036e-228
1.4137280056857302e-227
1.6438697740531745e-227
2.944946906701128e-228
0
0
0
1.402160033201652e-227
0
1.3204014306826055e-227
0
0
4.7330387942946673e-228
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
2.1383322210644186e-227
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1.452150985946732e-227
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
3.28734972002964e-228
-1.2011402444230444e-226
1.4137280056857302e-227
1.6438697740531745e-227
0
3.587195966141268e-228
0
0
0
1.7079502532083955e-227
0
1.6083613171612588e-227
0
0
5.765244063263186e-228
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
2.6046706309774035e-227
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1.7688434882010724e-227
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1.7659858144114102e-227
2.151121018618154e-227
-7.712049999202267e-227
3.0600329840701433e-228
0
0
2.3575239864814882e-228
0
0
0
0
0
0
0
0
3.788910720155285e-228
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1.7118031876074202e-227
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1.1624932094945914e-227
0
0
0
0
0
0
0
0
0
0
0
0
0
1.7659858144114102e-227
2.151121018618154e-227
2.6316283663003236e-228
-9.466273569076231e-227
0
0
0
2.741306961024986e-228
0
0
0
0
1.2290970764332761e-227
0
0
0
4.405710139715448e-228
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1.9904688227993256e-227
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1.35173629010999e-227
0
0
0
0
0
0
0
0
0
0
0
0
3.2873825935268406e-228
0
0
0
-9.789562284603925e-227
3.587160094540322e-228
1.2664520072400609e-227
1.472618613069838e-227
1.402160033201652e-227
0
1.3204014306826055e-227
0
0
0
0
0
0
4.240013919888974e-228
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1.9155892813702083e-227
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1.3008852582439472e-227
0
0
0
0
0
0
0
0
0
0
0
0
4.004311776157695e-228
0
0
2.9449174575265527e-228
-1.1184714626479355e-226
1.2664520072400609e-227
1.472618613069838e-227
0
1.7079502532083955e-227
0
1.6083613171612588e-227
0
0
0
0
0
0
5.164697806673271e-228
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
2.333350773583924e-227
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1.5845889581801275e-227
0
0
0
0
0
0
0
0
0
0
0
0
2.6316546825839867e-228
0
1.582013138612169e-227
1.927026642245674e-227
-6.960650372589508e-227
2.7412795482295034e-228
0
0
0
0
0
0
0
0
0
0
0
3.3942664624643113e-228
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1.5334903555649806e-227
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1.0414001668389046e-227
0
0
0
0
0
0
0
0
0
0
0
0
3.0600635843999844e-228
1.582013138612169e-227
1.927026642245674e-227
2.3575004114773733e-228
-8.668634150658292e-227
0
0
0
0
1.2290970764332761e-227
0
0
0
0
0
0
0
3.946821467981757e-228
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1.7831283204243958e-227
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1.210930426556866e-227
0
0
0
0
0
0
0
0
1.7659858144114102e-227
0
0
0
1.5820289587435553e-227
0
0
0
-7.138310951111106e-227
3.179317603171396e-228
2.45792726321567e-228
0
0
0
0
0
0
0
0
0
0
3.757945153803405e-228
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1.6977961847803136e-227
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1.1529809911567802e-227
0
0
0
0
0
0
0
0
2.151121018618154e-227
0
0
0
1.9270459125120966e-227
0
0
2.6100948008568667e-228
-8.568811792276212e-227
0
2.9939645918956835e-228
0
0
0
0
0
0
0
0
0
0
4.577497022452021e-228
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
2.068060246354744e-227
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1.404428973270759e-227
0
0
0
0
0
0
1.7659858144114102e-227
0
0
0
1.5820289587435553e-227
0
0
0
2.6101209018048753e-228
0
-8.175950805302162e-227
2.9939346525491575e-228
1.2290970764332761e-227
0
0
0
0
0
0
0
0
0
0
0
0
3.538822987400874e-228
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1.5987993226939982e-227
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1.0857517788444316e-227
0
0
0
0
2.151121018618154e-227
0
0
0
1.9270459125120966e-227
0
0
0
3.179349396347428e-228
2.457902684188828e-228
-9.572059687233007e-227
1.2290970764332761e-227
0
0
0
0
0
0
0
0
0
0
0
0
0
4.3105875750787246e-228
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1.9474736430687532e-227
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1.322538071039228e-227
0
0
0
0
0
1.6438697740531745e-227
0
0
0
1.4726333392559688e-227
0
0
1.3204014306826055e-227
1.6083613171612588e-227
-8.873594824178223e-227
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
3.2941171425274096e-228
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1.4882440503800515e-227
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1.0106731983924229e-227
3.2873825935268406e-228
0
0
0
0
0
0
0
0
0
0
0
0
-1.324173397925359e-226
5.765186411399071e-228
2.0354073167635159e-227
2.3667526939110653e-227
4.240013919888974e-228
0
0
0
2.0187725779228606e-227
0
0
0
1.9010598911635102e-227
0
0
0
2.1383322210644186e-227
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1.452150985946732e-227
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
4.004311776157695e-228
0
0
0
0
0
0
0
0
0
0
0
4.7329914643800233e-228
-1.4940563784684683e-226
2.0354073167635159e-227
2.3667526939110653e-227
0
5.164697806673271e-228
0
0
0
2.4590368103422085e-227
0
0
0
2.315652739768318e-227
0
0
0
2.6046706309774035e-227
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1.7688434882010724e-227
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
2.6316283663003236e-228
0
0
0
0
0
0
0
0
0
0
2.542568608315887e-227
3.0970649537464794e-227
-1.2695041448552274e-226
4.405710139715448e-228
0
0
3.3942664624643113e-228
0
0
0
1.6160918775393115e-227
0
0
0
1.5218591150005758e-227
0
0
0
1.7118031876074202e-227
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1.1624932094945914e-227
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
3.0600329840701433e-228
0
0
0
0
0
0
0
0
0
2.542568608315887e-227
3.0970649537464794e-227
3.788910720155285e-228
-1.371019541607599e-226
0
0
0
3.946821467981757e-228
0
0
0
1.8791766017898967e-227
0
0
0
1.769603622093693e-227
0
0
0
1.9904688227993256e-227
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1.35173629010999e-227
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
2.944946906701128e-228
0
0
0
0
0
0
0
0
4.7330387942946673e-228
0
0
0
-1.2364171871050585e-226
5.1646461602116685e-228
1.8233857212673165e-227
2.120215954961996e-227
2.0187725779228606e-227
0
0
0
1.9010598911635102e-227
0
0
0
0
0
0
0
1.9155892813702083e-227
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1.3008852582439472e-227
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
3.587195966141268e-228
0
0
0
0
0
0
0
0
5.765244063263186e-228
0
0
4.239971520173772e-228
-1.3995472113061713e-226
1.8233857212673165e-227
2.120215954961996e-227
0
2.4590368103422085e-227
0
0
0
2.315652739768318e-227
0
0
0
0
0
0
0
2.333350773583924e-227
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1.5845889581801275e-227
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
2.3575239864814882e-228
0
0
0
0
0
0
0
0
3.788948609262487e-228
0
2.2777177116163155e-227
2.7744540210645545e-227
-1.1774338707215216e-226
3.9467820001617553e-228
0
0
1.6160918775393115e-227
0
0
0
1.5218591150005758e-227
0
0
0
0
0
0
0
1.5334903555649806e-227
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1.0414001668389046e-227
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
2.741306961024986e-228
0
0
0
0
0
0
0
0
4.4057541968168453e-228
2.2777177116163155e-227
2.7744540210645545e-227
3.39423252013911e-228
-1.2749140071343816e-226
0
0
0
1.8791766017898967e-227
0
0
0
1.769603622093693e-227
0
0
0
0
0
0
0
1.7831283204243958e-227
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1.210930426556866e-227
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
2.6101209018048753e-228
0
0
0
0
2.54259403400197e-227
0
0
0
2.277740488793432e-227
0
0
0
-1.2239019691776232e-226
4.5774512479395413e-228
1.6160918775393115e-227
1.8791766017898967e-227
3.538822987400874e-228
0
0
0
0
0
0
0
0
0
0
0
1.6977961847803136e-227
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1.1529809911567802e-227
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
3.179349396347428e-228
0
0
0
0
3.097095924396017e-227
0
0
0
2.7744817656047654e-227
0
0
3.7579075747276577e-228
-1.3964119843570876e-226
1.6160918775393115e-227
1.8791766017898967e-227
0
4.3105875750787246e-228
0
0
0
0
0
0
0
0
0
0
0
2.068060246354744e-227
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1.404428973270759e-227
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
2.0354276708366836e-227
0
0
0
1.8234039551245294e-227
0
2.0187725779228606e-227
2.4590368103422085e-227
-1.1251878426442505e-226
3.498052263709256e-228
0
0
2.8329407425735725e-228
0
0
0
0
0
0
0
0
0
0
0
1.359140030901262e-227
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
9.229980806866777e-228
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
2.3667763614380046e-227
0
0
0
2.120237157121546e-227
2.0187725779228606e-227
2.4590368103422085e-227
3.0083249467899605e-228
-1.224871608271908e-226
0
0
0
3.2941171425274096e-228
0
0
0
0
0
0
0
0
0
0
0
1.5803953847689092e-227
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1.0732535821938116e-227
0
0
0
0
0
0
0
0
0
0
0
0
0
0
2.45792726321567e-228
0
0
2.54259403400197e-227
0
0
0
2.277740488793432e-227
0
0
0
3.757945153803405e-228
0
0
0
-1.1848957135795182e-226
4.310544469634028e-228
1.5218438965616102e-227
1.7695859262344306e-227
0
0
0
0
0
0
0
0
0
0
0
0
1.5987993226939982e-227
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1.0857517788444316e-227
0
0
0
0
0
0
0
0
0
0
0
0
0
0
2.9939645918956835e-228
0
0
3.097095924396017e-227
0
0
0
2.7744817656047654e-227
0
0
0
4.577497022452021e-228
0
0
3.5387875995248786e-228
-1.3544044148292062e-226
1.5218438965616102e-227
1.7695859262344306e-227
0
0
0
0
0
0
0
0
0
0
0
0
0
1.9474736430687532e-227
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1.322538071039228e-227
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
2.0354276708366836e-227
0
0
0
1.8234039551245294e-227
0
0
0
3.0083550300394286e-228
0
1.9010408807547025e-227
2.3156295834724834e-227
-1.0854802048534364e-226
3.2940842016853926e-228
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1.2798770845559987e-227
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
8.691789506174837e-228
0
0
0
0
0
0
0
0
0
0
0
0
0
2.2879642077805437e-228
0
0
0
2.3667763614380046e-227
0
0
0
2.120237157121546e-227
0
0
0
3.498087244231893e-228
1.9010408807547025e-227
2.3156295834724834e-227
2.8329124134494377e-228
-1.206448273581372e-226
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1.4882291680883705e-227
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1.0106731983924229e-227
1.7659858144114102e-227
0
0
0
0
0
0
0
0
0
0
0
0
2.54259403400197e-227
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
-1.2419189688605339e-226
4.848545894105496e-228
1.7117860697467225e-227
1.9904688227993256e-227
3.5658694472706426e-228
0
0
0
1.6977961847803136e-227
0
0
0
1.5987993226939982e-227
0
0
0
2.703179060339842e-228
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
2.151121018618154e-227
0
0
0
0
0
0
0
0
0
0
0
0
3.097095924396017e-227
0
0
0
0
0
0
0
0
0
0
0
0
0
0
3.980465624855166e-228
-1.412767574930051e-226
1.7117860697467225e-227
1.9904688227993256e-227
0
4.3435324650264744e-228
0
0
0
2.068060246354744e-227
0
0
0
1.9474736430687532e-227
0
0
0
3.292702153286297e-228
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1.4137280056857302e-227
0
0
0
0
0
0
0
0
0
0
0
0
2.0354276708366836e-227
0
0
0
0
0
0
0
0
0
0
0
0
0
2.1383108379560387e-227
2.604644584531558e-227
-1.1703524125238052e-226
3.705257713640945e-228
0
0
2.854592296884212e-228
0
0
0
1.359140030901262e-227
0
0
0
1.2798898833268444e-227
0
0
0
2.1639811094741816e-228
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1.6438697740531745e-227
0
0
0
0
0
0
0
0
0
0
0
0
2.3667763614380046e-227
0
0
0
0
0
0
0
0
0
0
0
0
2.1383322210644186e-227
2.6046706309774035e-227
3.1865216337312124e-228
-1.2724495633306058e-226
0
0
0
3.319293368470013e-228
0
0
0
1.5803953847689092e-227
0
0
0
1.4882440503800515e-227
0
0
0
2.5162571040397464e-228
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1.5820289587435553e-227
0
0
0
0
0
0
0
0
0
0
0
0
2.277740488793432e-227
0
0
0
0
0
0
0
0
0
0
0
3.980505429511415e-228
0
0
0
-1.1547509701932443e-226
4.343489030136173e-228
1.5334750208147724e-227
1.7831104893195024e-227
1.6977961847803136e-227
0
0
0
1.5987993226939982e-227
0
0
0
0
0
0
0
2.4215979082211078e-228
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1.9270459125120966e-227
0
0
0
0
0
0
0
0
0
0
0
0
2.7744817656047654e-227
0
0
0
0
0
0
0
0
0
0
0
4.8485943795644376e-228
0
0
3.565833788932753e-228
-1.3170061129089585e-226
1.5334750208147724e-227
1.7831104893195024e-227
0
2.068060246354744e-227
0
0
0
1.9474736430687532e-227
0
0
0
0
0
0
0
2.9497123456523076e-228
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1.2664646717601332e-227
0
0
0
0
0
0
0
0
0
0
0
0
1.8234039551245294e-227
0
0
0
0
0
0
0
0
0
0
0
3.1865216337312124e-228
0
1.9155701256689513e-227
2.3333274403095207e-227
-1.082223092910825e-226
3.319260175868254e-228
0
0
1.359140030901262e-227
0
0
0
1.2798898833268444e-227
0
0
0
0
0
0
0
1.938566410570621e-228
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1.4726333392559688e-227
0
0
0
0
0
0
0
0
0
0
0
0
2.120237157121546e-227
0
0
0
0
0
0
0
0
0
0
0
3.705257713640945e-228
1.9155701256689513e-227
2.3333274403095207e-227
2.854563751246699e-228
-1.1791804342897273e-226
0
0
0
1.5803953847689092e-227
0
0
0
1.4882440503800515e-227
0
0
0
0
0
0
0
2.2541469890356064e-228
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1.402160033201652e-227
0
0
0
0
0
0
0
0
0
0
0
0
2.0187725779228606e-227
0
0
0
0
0
0
0
2.1383322210644186e-227
0
0
0
1.9155892813702083e-227
0
0
0
-1.1311598999855914e-226
3.8496556520328355e-228
1.359140030901262e-227
1.5803953847689092e-227
2.9761649391948776e-228
0
0
0
0
0
0
0
0
0
0
0
2.1462741150383465e-228
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1.7079502532083955e-227
0
0
0
0
0
0
0
0
0
0
0
0
2.4590368103422085e-227
0
0
0
0
0
0
0
2.6046706309774035e-227
0
0
0
2.333350773583924e-227
0
0
3.1604159938086154e-228
-1.2984542155194565e-226
1.359140030901262e-227
1.5803953847689092e-227
0
3.6252221865724844e-228
0
0
0
0
0
0
0
0
0
0
0
2.614344533743518e-228
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1.6160918775393115e-227
0
0
0
0
0
0
0
1.7118031876074202e-227
0
0
0
1.5334903555649806e-227
0
1.6977961847803136e-227
2.068060246354744e-227
-9.331497105346027e-227
2.9418765899814245e-228
0
0
2.3825150178129207e-228
0
0
0
0
0
0
0
0
0
0
0
1.7181609271982507e-228
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1.8791766017898967e-227
0
0
0
0
0
0
0
1.9904688227993256e-227
0
0
0
1.7831283204243958e-227
1.6977961847803136e-227
2.068060246354744e-227
2.5300138673840255e-228
-1.0148454347190706e-226
0
0
0
2.770366299782466e-228
0
0
0
0
0
0
0
0
0
0
0
1.9978615432537803e-228
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1.3204014306826055e-227
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1.9010598911635102e-227
0
0
0
2.1383322210644186e-227
0
0
0
1.9155892813702083e-227
0
0
0
3.160447597968554e-228
0
0
0
-1.0924192804887698e-226
3.625185934713137e-228
1.2798898833268444e-227
1.4882440503800515e-227
0
0
0
0
0
0
0
0
0
0
0
0
2.0211269363189095e-228
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1.6083613171612588e-227
0
0
0
0
0
0
0
0
0
0
0
0
0
0
2.315652739768318e-227
0
0
0
2.6046706309774035e-227
0
0
0
2.333350773583924e-227
0
0
0
3.849694148589356e-228
0
0
2.976135177843099e-228
-1.2558942789765e-226
1.2798898833268444e-227
1.4882440503800515e-227
0
0
0
0
0
0
0
0
0
0
0
0
0
2.461904619239523e-228
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1.5218438965616102e-227
0
0
0
1.7118031876074202e-227
0
0
0
1.5334903555649806e-227
0
0
0
2.5300391675226995e-228
0
1.5987993226939982e-227
1.9474736430687532e-227
-9.005245843546128e-227
2.770338596396502e-228
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1.6179766165744462e-228
0
0
0
0
0
0
0
0
0
0
0
0
0
1.2290970764332761e-227
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1.7695859262344306e-227
0
0
0
1.9904688227993256e-227
0
0
0
1.7831283204243958e-227
0
0
0
2.941906008747324e-228
1.5987993226939982e-227
1.9474736430687532e-227
2.3824911929009916e-228
-1.103912964769976e-226
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1.8813681588074953e-228
1.7659858144114102e-227
0
0
0
0
0
0
0
0
0
0
0
0
2.54259403400197e-227
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
3.980505429511415e-228
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
-1.0030994232408254e-226
3.2926692265940307e-228
1.1624815846787445e-227
1.351722772882261e-227
2.4215979082211078e-228
0
0
0
1.1529809911567802e-227
0
0
0
1.0857517788444316e-227
0
0
0
0
2.151121018618154e-227
0
0
0
0
0
0
0
0
0
0
0
0
3.097095924396017e-227
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
4.8485943795644376e-228
0
0
0
0
0
0
0
0
0
0
0
0
0
0
2.7031520288195534e-228
-1.1539534220288793e-226
1.1624815846787445e-227
1.351722772882261e-227
0
2.9497123456523076e-228
0
0
0
1.404428973270759e-227
0
0
0
1.322538071039228e-227
0
0
0
0
1.4137280056857302e-227
0
0
0
0
0
0
0
0
0
0
0
0
2.0354276708366836e-227
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
3.1865216337312124e-228
0
0
0
0
0
0
0
0
0
0
0
0
0
1.452136464582086e-227
1.768825799943073e-227
-9.226426970953949e-227
2.516231941720329e-228
0
0
1.938566410570621e-228
0
0
0
9.229980806866777e-228
0
0
0
8.691789506174837e-228
0
0
0
0
1.6438697740531745e-227
0
0
0
0
0
0
0
0
0
0
0
0
2.3667763614380046e-227
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
3.705257713640945e-228
0
0
0
0
0
0
0
0
0
0
0
0
1.452136464582086e-227
1.768825799943073e-227
2.1639594698794828e-228
-1.0127871597858177e-226
0
0
0
2.2541469890356064e-228
0
0
0
1.0732535821938116e-227
0
0
0
1.0106731983924229e-227
0
0
0
0
1.5820289587435553e-227
0
0
0
0
0
0
0
0
0
0
0
0
2.277740488793432e-227
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
3.5658694472706426e-228
0
0
0
0
0
0
0
0
0
0
0
2.703179060339842e-228
0
0
0
-9.272683423496696e-227
2.949682848823819e-228
1.0413897529413751e-227
1.2109183173736921e-227
1.1529809911567802e-227
0
0
0
1.0857517788444316e-227
0
0
0
0
0
0
0
0
1.9270459125120966e-227
0
0
0
0
0
0
0
0
0
0
0
0
2.7744817656047654e-227
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
4.3435324650264744e-228
0
0
0
0
0
0
0
0
0
0
0
3.292702153286297e-228
0
0
2.421573692484183e-228
-1.0686583623821611e-226
1.0413897529413751e-227
1.2109183173736921e-227
0
1.404428973270759e-227
0
0
0
1.322538071039228e-227
0
0
0
0
0
0
0
0
1.2664646717601332e-227
0
0
0
0
0
0
0
0
0
0
0
0
1.8234039551245294e-227
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
2.854592296884212e-228
0
0
0
0
0
0
0
0
0
0
0
2.1639811094741816e-228
0
1.300872249521452e-227
1.5845731124490028e-227
-8.49476080557423e-227
2.2541244477911282e-228
0
0
9.229980806866777e-228
0
0
0
8.691789506174837e-228
0
0
0
0
0
0
0
0
1.4726333392559688e-227
0
0
0
0
0
0
0
0
0
0
0
0
2.120237157121546e-227
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
3.319293368470013e-228
0
0
0
0
0
0
0
0
0
0
0
2.5162571040397464e-228
1.300872249521452e-227
1.5845731124490028e-227
1.93854702510037e-228
-9.339652388695219e-227
0
0
0
1.0732535821938116e-227
0
0
0
1.0106731983924229e-227
0
0
0
0
0
0
0
0
1.402160033201652e-227
0
0
0
0
0
0
0
0
0
0
0
0
2.0187725779228606e-227
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
3.160447597968554e-228
0
0
0
0
0
0
0
1.452150985946732e-227
0
0
0
1.3008852582439472e-227
0
0
0
-8.949809810680389e-227
2.6143183905596123e-228
9.229980806866777e-228
1.0732535821938116e-227
2.0211269363189095e-228
0
0
0
0
0
0
0
0
0
0
0
0
1.7079502532083955e-227
0
0
0
0
0
0
0
0
0
0
0
0
2.4590368103422085e-227
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
3.849694148589356e-228
0
0
0
0
0
0
0
1.7688434882010724e-227
0
0
0
1.5845889581801275e-227
0
0
2.1462526525118212e-228
-1.0362456314846363e-226
9.229980806866777e-228
1.0732535821938116e-227
0
2.461904619239523e-228
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1.6160918775393115e-227
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
2.5300391675226995e-228
0
0
0
0
0
0
0
1.1624932094945914e-227
0
0
0
1.0414001668389046e-227
0
1.1529809911567802e-227
1.404428973270759e-227
-6.991980953193874e-227
1.9978415648381317e-228
0
0
1.6179766165744462e-228
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1.8791766017898967e-227
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
2.941906008747324e-228
0
0
0
0
0
0
0
1.35173629010999e-227
0
0
0
1.210930426556866e-227
1.1529809911567802e-227
1.404428973270759e-227
1.718143745760793e-228
-7.653395074215854e-227
0
0
0
1.8813681588074953e-228
0
0
0
0
0
0
0
0
0
0
1.3204014306826055e-227
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1.9010598911635102e-227
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
2.9761649391948776e-228
0
0
0
1.452150985946732e-227
0
0
0
1.3008852582439472e-227
0
0
0
2.1462741150383465e-228
0
0
0
-8.61276282218047e-227
2.4618800004395184e-228
8.691702589148946e-228
1.0106630917615053e-227
0
0
0
0
0
0
0
0
0
0
0
1.6083613171612588e-227
0
0
0
0
0
0
0
0
0
0
0
0
0
0
2.315652739768318e-227
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
3.6252221865724844e-228
0
0
0
1.7688434882010724e-227
0
0
0
1.5845889581801275e-227
0
0
0
2.614344533743518e-228
0
0
2.0211067252516568e-228
-9.98334719854394e-227
8.691702589148946e-228
1.0106630917615053e-227
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1.5218591150005758e-227
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
2.3825150178129207e-228
0
0
0
1.1624932094945914e-227
0
0
0
1.0414001668389046e-227
0
0
0
1.7181609271982507e-228
0
1.0857409214352172e-227
1.32252484579077e-227
-6.73222078759258e-227
1.881349345314042e-228
0
0
0
0
0
0
0
0
0
0
0
0
1.2290970764332761e-227
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1.769603622093693e-227
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
2.770366299782466e-228
0
0
0
1.35173629010999e-227
0
0
0
1.210930426556866e-227
0
0
0
1.9978615432537803e-228
1.0857409214352172e-227
1.32252484579077e-227
1.6179604369700763e-228
-8.608252010420445e-227
package main
import (
"os"
"fmt"
"github.com/gonum/matrix/mat64"
)
func main() {
f, err := os.Open("matr")
if err != nil {
panic(err)
}
defer f.Close()
var cols, rows int
fmt.Fscanf(f, "%d %d", &rows, &cols)
fmt.Printf("rows=%d, cols=%d\n", rows, cols)
m := mat64.NewDense(rows, cols, nil)
rm := m.RawMatrix()
v := 0.0
for i := range rm.Data {
fmt.Fscanf(f, "%f", &v)
rm.Data[i] = v
}
decomp := mat64.Eigen{}
decomp.Factorize(m, true)
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment