Inverse of a 3D matrix

Hello,

I need to take the inverse of a 3D matrix,
Could someone help me with an example code for that?

Thanks
Dil

Hi,
What do you mean with a 3D matrix ? A tensor with 3 dimensions ?
I am not sure about the algebra defining such operations, like multiplications and inversions on these tensors.
In ROOT we support just simple tensor operations/manipulations, in the RTensor class,
but we don’t have support for more complex operation such as tensor-tensor products (as for matrix) and inversions.
Maybe some dedicated software packages exist for this

Lorenzo