3
0
mirror of https://github.com/triqs/dft_tools synced 2024-11-01 03:33:50 +01:00
dft_tools/test/pytriqs/arrays/expr.py
Olivier Parcollet f2c7d449cc First commit : triqs libs version 1.0 alpha1
for earlier commits, see TRIQS0.x repository.
2013-07-17 19:24:07 +02:00

8 lines
82 B
Python

import numpy as np
from expr import f
a = np.array( [[1,2], [3,4]])
print f(a)