14 #ifndef NumArrayTuple_H
15 #define NumArrayTuple_H
23 #include <numpy/noprefix.h>
26 #include <Numeric/arrayobject.h>
28 #include <numarray/arrayobject.h>
61 std::vector < boost::python::numeric::array >
m_data;
67 mutable std::vector < double >
m_row;
91 virtual unsigned int rows ()
const;
95 virtual bool empty ()
const;
97 virtual double valueAt (
unsigned int row,
unsigned int column )
const;
107 int addColumn (
const std::string & label,
108 boost::python::numeric::array array );
116 boost::python::numeric::array array );
124 boost::python::numeric::array array );
127 boost::python::numeric::array
131 boost::python::numeric::array
136 virtual const std::vector < double > &
getRow (
unsigned int index )
const;
144 virtual void setShape ( std::vector < unsigned int > &
shape );
148 const std::vector < unsigned int > &
getShape ()
const;
156 virtual void fillShape ( std::vector < intptr_t > & v,
157 unsigned int column )
const;
160 virtual void clear ();
163 virtual void reserve (
unsigned int count );
167 operator [] ( std::vector < unsigned int > & indices )
const;
173 #endif // NumArrayTuple_H