wbc
pygen::eigen_vector_to_numpy_array< VectorType > Struct Template Reference

#include <eigen_conversion.h>

Static Public Member Functions

static PyObject * convert (const VectorType &mat)
 

Detailed Description

template<typename VectorType>
struct pygen::eigen_vector_to_numpy_array< VectorType >

Conversion from an Eigen Vector to an numpy ndarray This convert Eigen::VectorType of type T (int, float, double, ...) to an numpy.array The template VectorType should be a type as Eigen::Matrix<T, rows, 1> or Eigen::Matrix<T, 1, cols> Note it should also work for Eigen::Array

Member Function Documentation

◆ convert()

template<typename VectorType >
static PyObject * pygen::eigen_vector_to_numpy_array< VectorType >::convert ( const VectorType & mat)
inlinestatic

The documentation for this struct was generated from the following file: