22 #include <vnl/vnl_vector.h>
23 #include <vnl/vnl_matrix.h>
26 #undef _POSIX_C_SOURCE
29 #include "PatchedPython27pyconfig.h"
46 template <
typename TElement>
88 #ifndef ITK_MANUAL_INSTANTIATION
89 #include "itkPyVnl.hxx"
void operator=(const Self &)
vnl_matrix< TElement > MatrixType
vnl_vector< TElement > VectorType
static const MatrixType _GetVnlMatrixFromArray(PyObject *arr, PyObject *shape)
static const VectorType _GetVnlVectorFromArray(PyObject *arr, PyObject *shape)
static PyObject * _GetArrayViewFromVnlVector(VectorType *vector)
static PyObject * _GetArrayViewFromVnlMatrix(MatrixType *matrix)
Helper class get views of VNL data buffers in python arrays and back.