IODA Bundle
RowSlice.h File Reference
#include <Eigen/Dense>
#include <string>
#include <vector>
Include dependency graph for RowSlice.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Functions

template<class EigenType , class EigenIdxType >
EigenType rowSlice (const EigenType &arr, const EigenIdxType &idxVec)
 Collection of template methods that are used to slice array and vector data. More...
 
template<class EigenType , typename IdxType >
EigenType rowSlice (const EigenType &arr, const std::vector< IdxType > &idxVec)
 Slice eigen array using std::vector of indicies. More...
 
template<class EigenIdxType >
std::vector< std::string > rowSlice (const std::vector< std::string > &arr, const EigenIdxType &idxVec)
 Slice string vector using indicies of eigen arrays. More...
 
template<typename IdxType >
std::vector< std::string > rowSlice (const std::vector< std::string > &arr, const std::vector< IdxType > &idxVec)
 Slice string vector using std::vector of indicies. More...
 

Function Documentation

◆ rowSlice() [1/4]

template<class EigenType , class EigenIdxType >
EigenType rowSlice ( const EigenType &  arr,
const EigenIdxType &  idxVec 
)

Collection of template methods that are used to slice array and vector data.

Slice eigen array using indicies of eigen arrays.

Definition at line 19 of file RowSlice.h.

Here is the caller graph for this function:

◆ rowSlice() [2/4]

template<class EigenType , typename IdxType >
EigenType rowSlice ( const EigenType &  arr,
const std::vector< IdxType > &  idxVec 
)

Slice eigen array using std::vector of indicies.

Definition at line 33 of file RowSlice.h.

◆ rowSlice() [3/4]

template<class EigenIdxType >
std::vector<std::string> rowSlice ( const std::vector< std::string > &  arr,
const EigenIdxType &  idxVec 
)

Slice string vector using indicies of eigen arrays.

Definition at line 47 of file RowSlice.h.

◆ rowSlice() [4/4]

template<typename IdxType >
std::vector<std::string> rowSlice ( const std::vector< std::string > &  arr,
const std::vector< IdxType > &  idxVec 
)

Slice string vector using std::vector of indicies.

Definition at line 63 of file RowSlice.h.