Static Public Member Functions | List of all members
eigenpy::internal::SpecialMethods< T, NPY_USERDEF > Struct Template Reference

#include <user-type.hpp>

Static Public Member Functions

static void copyswap (void *dst, void *src, int swap, void *)
 
static void copyswapn (void *dst, long dstride, void *src, long sstride, long n, int swap, void *array)
 
static void dotfunc (void *ip0_, npy_intp is0, void *ip1_, npy_intp is1, void *op, npy_intp n, void *)
 
static int fill (void *data_, npy_intp length, void *)
 
static int fillwithscalar (void *buffer_, npy_intp length, void *value, void *)
 
static PyObject * getitem (void *ip, void *ap)
 
static npy_bool nonzero (void *ip, void *array)
 
static int setitem (PyObject *src_obj, void *dest_ptr, void *array)
 Set a python object in an array. It sets the Python object "item" into the array, arr, at the position pointed to by data. This function deals with “misbehaved” arrays. If successful, a zero is returned, otherwise, a negative one is returned (and a Python error set). More...
 

Detailed Description

template<typename T>
struct eigenpy::internal::SpecialMethods< T, NPY_USERDEF >

Definition at line 94 of file user-type.hpp.

Member Function Documentation

◆ copyswap()

template<typename T >
static void eigenpy::internal::SpecialMethods< T, NPY_USERDEF >::copyswap ( void *  dst,
void *  src,
int  swap,
void *   
)
inlinestatic

Definition at line 95 of file user-type.hpp.

◆ copyswapn()

template<typename T >
static void eigenpy::internal::SpecialMethods< T, NPY_USERDEF >::copyswapn ( void *  dst,
long  dstride,
void *  src,
long  sstride,
long  n,
int  swap,
void *  array 
)
inlinestatic

Definition at line 166 of file user-type.hpp.

◆ dotfunc()

template<typename T >
static void eigenpy::internal::SpecialMethods< T, NPY_USERDEF >::dotfunc ( void *  ip0_,
npy_intp  is0,
void *  ip1_,
npy_intp  is1,
void *  op,
npy_intp  n,
void *   
)
inlinestatic

Definition at line 198 of file user-type.hpp.

◆ fill()

template<typename T >
static int eigenpy::internal::SpecialMethods< T, NPY_USERDEF >::fill ( void *  data_,
npy_intp  length,
void *   
)
inlinestatic

Definition at line 225 of file user-type.hpp.

◆ fillwithscalar()

template<typename T >
static int eigenpy::internal::SpecialMethods< T, NPY_USERDEF >::fillwithscalar ( void *  buffer_,
npy_intp  length,
void *  value,
void *   
)
inlinestatic

Definition at line 213 of file user-type.hpp.

◆ getitem()

template<typename T >
static PyObject* eigenpy::internal::SpecialMethods< T, NPY_USERDEF >::getitem ( void *  ip,
void *  ap 
)
inlinestatic

Definition at line 110 of file user-type.hpp.

◆ nonzero()

template<typename T >
static npy_bool eigenpy::internal::SpecialMethods< T, NPY_USERDEF >::nonzero ( void *  ip,
void *  array 
)
inlinestatic

Definition at line 183 of file user-type.hpp.

◆ setitem()

template<typename T >
static int eigenpy::internal::SpecialMethods< T, NPY_USERDEF >::setitem ( PyObject *  src_obj,
void *  dest_ptr,
void *  array 
)
inlinestatic

Set a python object in an array. It sets the Python object "item" into the array, arr, at the position pointed to by data. This function deals with “misbehaved” arrays. If successful, a zero is returned, otherwise, a negative one is returned (and a Python error set).

Parameters
[in]src_objPointer to the location of the python object
[in]dest_ptrPointer to the location in the array where the source object should be saved.
[in]arrayPointer to the location of the array
Returns
int Success(0) or Failure(-1)

Definition at line 129 of file user-type.hpp.


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


eigenpy
Author(s): Justin Carpentier, Nicolas Mansard
autogenerated on Tue Jan 23 2024 03:15:01