0
matrixexpresstion
I made 2x2x2 matrix calculation. Addition and subtraction. Can you change the output to 3d lookandfeel? You may use other language. In CUI output is 2d tables.
1 Réponse
+ 2
In fact you are adding two matrices of size 2x2. I am not sure what sort of 3d look and feel you expect. If you make an operation along an axis of a multidimensional array, then you would reduce it by that dimension.
To get a 2x2x2 matrix as a result, you would actually need to begin with two matrices of size 2x2x2
These things are pretty easy in python with numpy library:
https://code.sololearn.com/crNGmARZ1NIU/?ref=app