mercredi 1 juillet 2015

How to convert from Matrix to double Java (Java)

I have an object Matrix, where I stored a double[][] array. I want to return the values of the method Matrix.inverse().

How can I pass values from a Matrix object to a double[][] array?

double K[][] = {{1,5,3,4} , {1,10,4,3} , {1,40,232,4} , {32,434,23,5}};
Matrix GetInverse = new Matrix(K);

double returnValues[][] = GetInverse; // ---?----

Aucun commentaire:

Enregistrer un commentaire