mirror of
https://github.com/triqs/dft_tools
synced 2024-11-01 19:53:45 +01:00
588dd6e50a
- does not use view - determinant not lazy any more
49 lines
831 B
Plaintext
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]]
|
|
|