1 #ifndef _theplu_yat_utility_basic_vector 2 #define _theplu_yat_utility_basic_vector 25 #include <gsl/gsl_vector.h> 47 template<
class Derived>
60 {
return (*static_cast<const Derived*>(
this))(i); }
66 {
return static_cast<const Derived*
>(
this)->
gsl_vector_p(); }
72 {
return static_cast<const Derived*
>(
this)->
size(); }
double operator()(size_t i) const
access element i
Definition: BasicVector.h:59
size_t size(void) const
Definition: BasicVector.h:71
The Department of Theoretical Physics namespace as we define it.
const gsl_vector * gsl_vector_p(void) const
Definition: BasicVector.h:65
Definition: BasicVector.h:48
Derived derived_type
Definition: BasicVector.h:54