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

38 lines
1.5 KiB
Cython

from dcomplex cimport *
from arrays cimport *
cdef extern from "triqs/gfs/local/tail.hpp" :
cdef cppclass tail "triqs::python_tools::cython_proxy<triqs::gfs::local::tail_view>" :
tail()
tail(array_view[dcomplex,THREE], array_view[long,TWO], long) except +
matrix_view[dcomplex] operator()(int) except +
array_view[dcomplex,THREE] data()
array_view[long,TWO] mask_view() except +
void operator << (tail &) except +
void operator << (dcomplex &) except +
long order_min() except +
long order_max() except +
size_t size() except +
size_t shape(int) except +
cdef tail operator +( tail &, tail &) except +
cdef tail operator -( tail &, tail &) except +
cdef tail operator *( tail&, tail &) except +
cdef tail operator *( double, tail &) except +
cdef tail operator *( tail &, double) except +
cdef tail operator /( double, tail &) except +
cdef tail operator /( tail &, double) except +
cdef tail operator *( dcomplex, tail &) except +
cdef tail operator *( tail &, dcomplex) except +
cdef tail operator /( dcomplex, tail &) except +
cdef tail operator /( tail &, dcomplex) except +
cdef tail inverse_c "inverse" ( tail &) except +
cdef void h5_write (h5_group, char *, tail &)
cdef extern from "triqs/utility/serialization.hpp" :
cdef std_string boost_serialize "triqs::serialize" (tail &)
cdef void boost_unserialize_into "triqs::deserialize_into_view" (std_string, tail &)