Question: Convert table to matrix in a particular form

Convert a table in a form 

output≔table([(2,4)=["O-H",0.97234632],(1,2)=["O-O",1.44940000],(1,3)=["O-H",0.97232285]])

Table can have more elements in a similar form at (1,2) and (2,1) position 

In the new matrix converted

We should get a square matrix

With at (2,4) and (4,2) position 

0.97234632

Similarly at (1,2) and (2,1) position 1.44940000

And so on 

Remember a square matrix and it is symmetric 

Please Wait...