3
0
mirror of https://github.com/triqs/dft_tools synced 2024-11-01 11:43:47 +01:00
dft_tools/pytriqs/gf/local/matrix_stack.pxd
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

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 +