a1

264 days ago by Chacoo_Chacaa

a=random_matrix(RDF, 10) 
       
       
[ -0.316167275164  -0.688401657641   0.329302972435  -0.075910795287  
0.376885321489   0.498222536103  -0.656168529908   0.343406526844 
0.0997793446889   -0.40486664154]
[  0.907963428575 -0.0119384018799   0.371948933958  -0.869814982071 
-0.750245829461  -0.365314403289   0.432085019389   0.488665908991  
0.776927735498   0.622786372559]
[   0.84965981598   0.584641517485   0.625916875415   0.963422888143 
-0.693966185986  -0.548692698048   0.481288733171   0.437949111174  
0.353453732422   -0.56540751914]
[  0.227247155209  -0.174939996519    0.17296254968  -0.537383192099 
-0.291182639988   0.170712664913    0.68378314025   0.672314099711  
0.900210744188   0.902291975555]
[  0.651793031082   0.741349942398   0.994702139626  -0.423719551933  
0.916228993806  -0.474221559621  -0.303289327636  -0.281196312871 
-0.120392431294   0.551159214465]
[ -0.954956896748   0.490618481948  0.0352749240143   0.591640489405 
-0.437410748248   0.414249730692  -0.665015124515  -0.796807436492
-0.0406499646522  -0.303447218918]
[  0.108009214368  -0.399115129393  -0.503366479644   0.220580950768 
0.0425330045318   0.518730061359  -0.934701230178  -0.301751033617 
-0.129553810885   0.391067910772]
[ -0.882830006991  -0.432771162841 -0.0463692461286   0.485192401324 
-0.509823159667  0.0454870196779  -0.357302452585   0.304958311621 
-0.437669560639   0.984722650766]
[ -0.524562797133   0.544468930231 -0.0306152511048  -0.411034994643 
0.0247058285986  -0.763133916463   0.931473626092   0.999641837795 
0.0105989153528  0.0556359957553]
[ -0.938792073426   0.414769422302  -0.224811357991  -0.768573532632  
0.240214670433   0.754404938015  -0.625949446481   0.805057311586  
-0.77685287606  -0.688188898922]
[ -0.316167275164  -0.688401657641   0.329302972435  -0.075910795287   0.376885321489   0.498222536103  -0.656168529908   0.343406526844  0.0997793446889   -0.40486664154]
[  0.907963428575 -0.0119384018799   0.371948933958  -0.869814982071  -0.750245829461  -0.365314403289   0.432085019389   0.488665908991   0.776927735498   0.622786372559]
[   0.84965981598   0.584641517485   0.625916875415   0.963422888143  -0.693966185986  -0.548692698048   0.481288733171   0.437949111174   0.353453732422   -0.56540751914]
[  0.227247155209  -0.174939996519    0.17296254968  -0.537383192099  -0.291182639988   0.170712664913    0.68378314025   0.672314099711   0.900210744188   0.902291975555]
[  0.651793031082   0.741349942398   0.994702139626  -0.423719551933   0.916228993806  -0.474221559621  -0.303289327636  -0.281196312871  -0.120392431294   0.551159214465]
[ -0.954956896748   0.490618481948  0.0352749240143   0.591640489405  -0.437410748248   0.414249730692  -0.665015124515  -0.796807436492 -0.0406499646522  -0.303447218918]
[  0.108009214368  -0.399115129393  -0.503366479644   0.220580950768  0.0425330045318   0.518730061359  -0.934701230178  -0.301751033617  -0.129553810885   0.391067910772]
[ -0.882830006991  -0.432771162841 -0.0463692461286   0.485192401324  -0.509823159667  0.0454870196779  -0.357302452585   0.304958311621  -0.437669560639   0.984722650766]
[ -0.524562797133   0.544468930231 -0.0306152511048  -0.411034994643  0.0247058285986  -0.763133916463   0.931473626092   0.999641837795  0.0105989153528  0.0556359957553]
[ -0.938792073426   0.414769422302  -0.224811357991  -0.768573532632   0.240214670433   0.754404938015  -0.625949446481   0.805057311586   -0.77685287606  -0.688188898922]
a=random_matrix(RDF, 100) 
       
b=inverse(a) 
       
Traceback (click to the left of this block for traceback)
...
NameError: name 'inverse' is not defined
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
  File "_sage_input_8.py", line 10, in <module>
    exec compile(u'open("___code___.py","w").write("# -*- coding: utf-8 -*-\\n" + _support_.preparse_worksheet_cell(base64.b64decode("Yj1pbnZlcnNlKGEp"),globals())+"\\n"); execfile(os.path.abspath("___code___.py"))
  File "", line 1, in <module>
    
  File "/tmp/tmp3gNPu_/___code___.py", line 2, in <module>
    exec compile(u'b=inverse(a)
  File "", line 1, in <module>
    
NameError: name 'inverse' is not defined
b=a.inverse() 
       
b[1][1] 
       
-0.338498996337
-0.338498996337
a[1][1] 
       
0.513665951495
0.513665951495
a=random_matrix(RDF, 200) 
       
b=a.inverse() 
       
a=random_matrix(RDF, 500) 
       
b=a.inverse() 
       
b[1][1] 
       
-0.00163090346787
-0.00163090346787