Macros | Typedefs | Enumerations | Functions
indexed_view.cpp File Reference
#include <valarray>
#include <vector>
#include "main.h"
Include dependency graph for indexed_view.cpp:

Go to the source code of this file.

Macros

#define MATCH(X, R)   match(X, R, #X)
 
#define VERIFY_EQ_INT(A, B)   VERIFY_IS_APPROX(int(A),int(B))
 

Typedefs

typedef std::pair< Index, IndexIndexPair
 

Enumerations

enum  DummyEnum { XX =0, YY =1 }
 

Functions

void check_indexed_view ()
 
IndexPair decode (Index ij)
 
 EIGEN_DECLARE_TEST (indexed_view)
 
int encode (Index i, Index j)
 
template<typename T1 , typename T2 >
internal::enable_if< internal::is_same< T1, T2 >::value, bool >::type is_same_eq (const T1 &a, const T2 &b)
 
template<typename T1 , typename T2 >
bool is_same_seq (const T1 &a, const T2 &b)
 
template<typename T1 , typename T2 >
internal::enable_if< internal::is_same< T1, T2 >::value, bool >::type is_same_seq_type (const T1 &a, const T2 &b)
 
template<typename T >
bool match (const T &xpr, std::string ref, std::string str_xpr="")
 

Macro Definition Documentation

◆ MATCH

#define MATCH (   X,
  R 
)    match(X, R, #X)

Definition at line 63 of file indexed_view.cpp.

◆ VERIFY_EQ_INT

#define VERIFY_EQ_INT (   A,
  B 
)    VERIFY_IS_APPROX(int(A),int(B))

Definition at line 93 of file indexed_view.cpp.

Typedef Documentation

◆ IndexPair

typedef std::pair<Index,Index> IndexPair

Definition at line 43 of file indexed_view.cpp.

Enumeration Type Documentation

◆ DummyEnum

enum DummyEnum
Enumerator
XX 
YY 

Definition at line 96 of file indexed_view.cpp.

Function Documentation

◆ check_indexed_view()

void check_indexed_view ( )

Definition at line 98 of file indexed_view.cpp.

◆ decode()

IndexPair decode ( Index  ij)

Definition at line 49 of file indexed_view.cpp.

◆ EIGEN_DECLARE_TEST()

EIGEN_DECLARE_TEST ( indexed_view  )

Definition at line 455 of file indexed_view.cpp.

◆ encode()

int encode ( Index  i,
Index  j 
)

Definition at line 45 of file indexed_view.cpp.

◆ is_same_eq()

template<typename T1 , typename T2 >
internal::enable_if<internal::is_same<T1,T2>::value,bool>::type is_same_eq ( const T1 a,
const T2 b 
)

Definition at line 67 of file indexed_view.cpp.

◆ is_same_seq()

template<typename T1 , typename T2 >
bool is_same_seq ( const T1 a,
const T2 b 
)

Definition at line 73 of file indexed_view.cpp.

◆ is_same_seq_type()

template<typename T1 , typename T2 >
internal::enable_if<internal::is_same<T1,T2>::value,bool>::type is_same_seq_type ( const T1 a,
const T2 b 
)

Definition at line 86 of file indexed_view.cpp.

◆ match()

template<typename T >
bool match ( const T xpr,
std::string  ref,
std::string  str_xpr = "" 
)

Definition at line 54 of file indexed_view.cpp.



gtsam
Author(s):
autogenerated on Sat Nov 16 2024 04:09:47