3
0
mirror of https://github.com/triqs/dft_tools synced 2024-12-26 14:23:38 +01:00
dft_tools/test/triqs/arrays/inverse2.output
Olivier Parcollet 588dd6e50a arrays: clean inverse
- does not use view
- determinant not lazy any more
2013-10-17 00:32:09 +02:00

49 lines
831 B
Plaintext

inverse(
[[0,-1,-2]
[1,-0.2,-1.2]
[2,4.5,-0.4]]) =
[[-0.702564,1.20513,-0.102564]
[0.25641,-0.512821,0.25641]
[-0.628205,0.25641,-0.128205]]
inverse(
[[0,-1,-2]
[1,-0.2,-1.2]
[2,4.5,-0.4]]) =
[[-0.702564,1.20513,-0.102564]
[0.25641,-0.512821,0.25641]
[-0.628205,0.25641,-0.128205]]
inverse(
[[0,-1,-2]
[1,-0.2,-1.2]
[2,4.5,-0.4]]) =
[[-0.702564,1.20513,-0.102564]
[0.25641,-0.512821,0.25641]
[-0.628205,0.25641,-0.128205]]
and det = -7.8
Wi=
[[-0.702564,1.20513,-0.102564]
[0.25641,-0.512821,0.25641]
[-0.628205,0.25641,-0.128205]]
invert of W=
[[-0.702564,1.20513,-0.102564]
[0.25641,-0.512821,0.25641]
[-0.628205,0.25641,-0.128205]]
determinant = -0.128205
view =
[[-0.702564,-0.102564]
[-0.628205,-0.128205]]
inverse(
[[-0.702564,-0.102564]
[-0.628205,-0.128205]]) =
[[-5,4]
[24.5,-27.4]]