Skip to content
Snippets Groups Projects
Unverified Commit cabf20d0 authored by Rickard Armiento's avatar Rickard Armiento
Browse files

Add lib files

parent b8d4235e
No related branches found
No related tags found
No related merge requests found
OUTCAR 0 → 100644
This diff is collapsed.
POSCAR 0 → 100644
Generated by cif2cell 1.0.12. Rb2MnCl4 :
5.11032200000000
0.9322165652167527 0.0000000000000000 0.0000000000000000
0.0000000000000000 0.9322165652167527 0.0000000000000000
0.0000000000000000 0.0000000000000000 2.7397786517754481
C O N
1 2 4
Direct
0.0000000000000000 0.0000000000000000 0.0000000000000000
0.5000000000000000 0.5000000000000000 0.8565621172314014
0.5000000000000000 0.5000000000000000 0.1434378827685985
0.5000000000000000 0.5000000000000000 0.3440196263283136
0.5000000000000000 0.5000000000000000 0.6559803736716865
0.5000000000000000 0.0000000000000000 0.5000000000000000
0.0000000000000000 0.5000000000000000 0.5000000000000000
0.00000000E+00 0.00000000E+00 0.00000000E+00
0.00000000E+00 0.00000000E+00 0.00000000E+00
0.00000000E+00 0.00000000E+00 0.00000000E+00
0.00000000E+00 0.00000000E+00 0.00000000E+00
0.00000000E+00 0.00000000E+00 0.00000000E+00
0.00000000E+00 0.00000000E+00 0.00000000E+00
0.00000000E+00 0.00000000E+00 0.00000000E+00
This diff is collapsed.
%% Cell type:code id: tags:
``` python
import numpy as np
b = np.array ([(1.5 ,2 ,3) , (4 ,5 ,6)])
b
```
%% Output
array([[ 1.5, 2. , 3. ],
[ 4. , 5. , 6. ]])
%% Cell type:code id: tags:
``` python
b.shape
```
%% Output
(2, 3)
%% Cell type:code id: tags:
``` python
b - b
```
%% Output
array([[ 0., 0., 0.],
[ 0., 0., 0.]])
%% Cell type:code id: tags:
``` python
b*(b+5)
```
%% Output
array([[ 9.75, 14. , 24. ],
[ 36. , 50. , 66. ]])
%% Cell type:code id: tags:
``` python
np.sin(b)
```
%% Output
array([[ 0.99749499, 0.90929743, 0.14112001],
[-0.7568025 , -0.95892427, -0.2794155 ]])
%% Cell type:code id: tags:
``` python
>>> b[:2 ,:2]
```
%% Output
array([[ 1.5, 2. ],
[ 4. , 5. ]])
%% Cell type:code id: tags:
``` python
np.linalg.inv(b[:2, :2])
```
%% Output
array([[-10., 4.],
[ 8., -3.]])
%% Cell type:code id: tags:
``` python
```
This diff is collapsed.
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment