eigenpy 3.12.0
Bindings between Numpy and Eigen using Boost.Python
Loading...
Searching...
No Matches
eigenpy::array_indexing_suite< Container, NoProxy, SliceAllocator, DerivedPolicies > Class Template Reference
Inheritance diagram for eigenpy::array_indexing_suite< Container, NoProxy, SliceAllocator, DerivedPolicies >:
[legend]
Collaboration diagram for eigenpy::array_indexing_suite< Container, NoProxy, SliceAllocator, DerivedPolicies >:
[legend]

Public Types

typedef Container::value_type data_type
typedef Container::value_type key_type
typedef Container::size_type index_type
typedef Container::size_type size_type
typedef Container::difference_type difference_type
typedef std::vector< data_type, SliceAllocator > slice_vector_type

Static Public Member Functions

template<class Class>
static void extension_def (Class &)
static void delete_item (Container &, index_type)
static void delete_slice (Container &, index_type, index_type)
static void set_slice (Container &container, index_type from, index_type to, data_type const &v)
template<class Iter>
static void set_slice (Container &container, index_type from, index_type to, Iter first, Iter last)
static bp::object get_slice (Container &container, index_type from, index_type to)

Static Public Attributes

static constexpr std::size_t Size = std::tuple_size<Container>{}

Detailed Description

template<typename Container, bool NoProxy = false, class SliceAllocator = std::allocator<typename Container::value_type>, class DerivedPolicies = details::final_array_derived_policies< Container, NoProxy, SliceAllocator>>
class eigenpy::array_indexing_suite< Container, NoProxy, SliceAllocator, DerivedPolicies >

Definition at line 31 of file std-array.hpp.

Member Typedef Documentation

◆ data_type

template<typename Container, bool NoProxy = false, class SliceAllocator = std::allocator<typename Container::value_type>, class DerivedPolicies = details::final_array_derived_policies< Container, NoProxy, SliceAllocator>>
typedef Container::value_type eigenpy::array_indexing_suite< Container, NoProxy, SliceAllocator, DerivedPolicies >::data_type

Definition at line 34 of file std-array.hpp.

◆ difference_type

template<typename Container, bool NoProxy = false, class SliceAllocator = std::allocator<typename Container::value_type>, class DerivedPolicies = details::final_array_derived_policies< Container, NoProxy, SliceAllocator>>
typedef Container::difference_type eigenpy::array_indexing_suite< Container, NoProxy, SliceAllocator, DerivedPolicies >::difference_type

Definition at line 38 of file std-array.hpp.

◆ index_type

template<typename Container, bool NoProxy = false, class SliceAllocator = std::allocator<typename Container::value_type>, class DerivedPolicies = details::final_array_derived_policies< Container, NoProxy, SliceAllocator>>
typedef Container::size_type eigenpy::array_indexing_suite< Container, NoProxy, SliceAllocator, DerivedPolicies >::index_type

Definition at line 36 of file std-array.hpp.

◆ key_type

template<typename Container, bool NoProxy = false, class SliceAllocator = std::allocator<typename Container::value_type>, class DerivedPolicies = details::final_array_derived_policies< Container, NoProxy, SliceAllocator>>
typedef Container::value_type eigenpy::array_indexing_suite< Container, NoProxy, SliceAllocator, DerivedPolicies >::key_type

Definition at line 35 of file std-array.hpp.

◆ size_type

template<typename Container, bool NoProxy = false, class SliceAllocator = std::allocator<typename Container::value_type>, class DerivedPolicies = details::final_array_derived_policies< Container, NoProxy, SliceAllocator>>
typedef Container::size_type eigenpy::array_indexing_suite< Container, NoProxy, SliceAllocator, DerivedPolicies >::size_type

Definition at line 37 of file std-array.hpp.

◆ slice_vector_type

template<typename Container, bool NoProxy = false, class SliceAllocator = std::allocator<typename Container::value_type>, class DerivedPolicies = details::final_array_derived_policies< Container, NoProxy, SliceAllocator>>
typedef std::vector<data_type, SliceAllocator> eigenpy::array_indexing_suite< Container, NoProxy, SliceAllocator, DerivedPolicies >::slice_vector_type

Definition at line 39 of file std-array.hpp.

Member Function Documentation

◆ delete_item()

template<typename Container, bool NoProxy = false, class SliceAllocator = std::allocator<typename Container::value_type>, class DerivedPolicies = details::final_array_derived_policies< Container, NoProxy, SliceAllocator>>
void eigenpy::array_indexing_suite< Container, NoProxy, SliceAllocator, DerivedPolicies >::delete_item(Container &,
index_type )
inlinestatic

Definition at line 46 of file std-array.hpp.

◆ delete_slice()

template<typename Container, bool NoProxy = false, class SliceAllocator = std::allocator<typename Container::value_type>, class DerivedPolicies = details::final_array_derived_policies< Container, NoProxy, SliceAllocator>>
void eigenpy::array_indexing_suite< Container, NoProxy, SliceAllocator, DerivedPolicies >::delete_slice(Container &,
index_type,
index_type )
inlinestatic

Definition at line 53 of file std-array.hpp.

◆ extension_def()

template<typename Container, bool NoProxy = false, class SliceAllocator = std::allocator<typename Container::value_type>, class DerivedPolicies = details::final_array_derived_policies< Container, NoProxy, SliceAllocator>>
template<class Class>
void eigenpy::array_indexing_suite< Container, NoProxy, SliceAllocator, DerivedPolicies >::extension_def(Class &)
inlinestatic

Definition at line 43 of file std-array.hpp.

◆ get_slice()

template<typename Container, bool NoProxy = false, class SliceAllocator = std::allocator<typename Container::value_type>, class DerivedPolicies = details::final_array_derived_policies< Container, NoProxy, SliceAllocator>>
bp::object eigenpy::array_indexing_suite< Container, NoProxy, SliceAllocator, DerivedPolicies >::get_slice(Container &container,
index_typefrom,
index_typeto )
inlinestatic

Definition at line 91 of file std-array.hpp.

◆ set_slice() [1/2]

template<typename Container, bool NoProxy = false, class SliceAllocator = std::allocator<typename Container::value_type>, class DerivedPolicies = details::final_array_derived_policies< Container, NoProxy, SliceAllocator>>
void eigenpy::array_indexing_suite< Container, NoProxy, SliceAllocator, DerivedPolicies >::set_slice(Container &container,
index_typefrom,
index_typeto,
data_type const &v )
inlinestatic

Definition at line 59 of file std-array.hpp.

◆ set_slice() [2/2]

template<typename Container, bool NoProxy = false, class SliceAllocator = std::allocator<typename Container::value_type>, class DerivedPolicies = details::final_array_derived_policies< Container, NoProxy, SliceAllocator>>
template<class Iter>
void eigenpy::array_indexing_suite< Container, NoProxy, SliceAllocator, DerivedPolicies >::set_slice(Container &container,
index_typefrom,
index_typeto,
Iterfirst,
Iterlast )
inlinestatic

Definition at line 72 of file std-array.hpp.

Member Data Documentation

◆ Size

template<typename Container, bool NoProxy = false, class SliceAllocator = std::allocator<typename Container::value_type>, class DerivedPolicies = details::final_array_derived_policies< Container, NoProxy, SliceAllocator>>
std::size_t eigenpy::array_indexing_suite< Container, NoProxy, SliceAllocator, DerivedPolicies >::Size = std::tuple_size<Container>{}
staticconstexpr

Definition at line 40 of file std-array.hpp.


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