Public Member Functions | Static Public Member Functions | List of all members
gtsam::Testable< T > Struct Template Reference

#include <Testable.h>

Public Member Functions

 BOOST_CONCEPT_ASSERT ((HasTestablePrereqs< T >))
 

Static Public Member Functions

static bool Equals (const T &m1, const T &m2, double tol=1e-8)
 
static void Print (const T &m, const std::string &str="")
 

Detailed Description

template<typename T>
struct gtsam::Testable< T >

A helper that implements the traits interface for GTSAM types. To use this for your gtsam type, define: template<> struct traits<Type> : public Testable<Type> { };

Definition at line 150 of file Testable.h.

Member Function Documentation

template<typename T>
gtsam::Testable< T >::BOOST_CONCEPT_ASSERT ( (HasTestablePrereqs< T >)  )
template<typename T>
static bool gtsam::Testable< T >::Equals ( const T m1,
const T m2,
double  tol = 1e-8 
)
inlinestatic

Definition at line 158 of file Testable.h.

template<typename T>
static void gtsam::Testable< T >::Print ( const T m,
const std::string &  str = "" 
)
inlinestatic

Definition at line 155 of file Testable.h.


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


gtsam
Author(s):
autogenerated on Sat May 8 2021 02:58:31