3
0
mirror of https://github.com/triqs/dft_tools synced 2024-12-27 06:43:40 +01:00
dft_tools/pytriqs/gf/local/OLD/matrix_stack.pxd
Olivier Parcollet 3a31077d51 gf : new wrapper
2014-05-11 21:47:52 +02:00

18 lines
566 B
Cython

include "arrays.pxd"
include "dcomplex.pxd"
cdef extern from "<triqs/arrays/matrix_stack_view.hpp>" namespace "triqs::arrays":
cdef cppclass matrix_stack "triqs::arrays::matrix_stack_view" [T]:
matrix_stack(object)
void iadd "operator +=" (matrix_view[T] &) except +
void isub "operator -=" (matrix_view[T] &) except +
void imul "operator *=" (matrix_view[T] &) except +
void idiv "operator /=" (matrix_view[T] &) except +
void invert() except +
void onsite_matmul_L_R(matrix_view[T] &, matrix_stack &, matrix_view[T] &) except +