/*******************************************************************************
*
* TRIQS: a Toolbox for Research in Interacting Quantum Systems
*
* Copyright (C) 2011 by O. Parcollet
*
* TRIQS is free software: you can redistribute it and/or modify it under the
* terms of the GNU General Public License as published by the Free Software
* Foundation, either version 3 of the License, or (at your option) any later
* version.
*
* TRIQS is distributed in the hope that it will be useful, but WITHOUT ANY
* WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
* FOR A PARTICULAR PURPOSE. See the GNU General Public License for more
* details.
*
* You should have received a copy of the GNU General Public License along with
* TRIQS. If not, see .
*
******************************************************************************/
#ifndef TRIQS_ARRAY_INTERFACE_H
#define TRIQS_ARRAY_INTERFACE_H
#include
#include
namespace triqs { namespace arrays {
template
struct array_c: public triqs::python_tools::cython_proxy > {
typedef triqs::python_tools::cython_proxy> B;
array_c(): B() {}
array_c(array_c const &a): B(a) {};
array_c(array_view const &a): B(a) {};
template explicit array_c(Args && ... args): B(std::forward(args)...) {}
};
template
struct matrix_c: public triqs::python_tools::cython_proxy> {
typedef triqs::python_tools::cython_proxy> B;
matrix_c(): B() {}
matrix_c(matrix_c const &a): B(a) {};
matrix_c(matrix_view const &a): B(a) {};
template explicit matrix_c(Args && ... args): B(std::forward(args)...) {}
};
template
struct vector_c: public triqs::python_tools::cython_proxy> {
typedef triqs::python_tools::cython_proxy> B;
vector_c(): B() {}
vector_c(vector_c const &a): B(a) {};
vector_c(vector_view const &a): B(a) {};
template explicit vector_c(Args && ... args): B(std::forward(args)...) {}
};
}}//namespace triqs
#endif