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

#include <Testable.h>

Public Member Functions

 GTSAM_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 152 of file Testable.h.

Member Function Documentation

◆ Equals()

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

Definition at line 160 of file Testable.h.

◆ GTSAM_CONCEPT_ASSERT()

template<typename T >
gtsam::Testable< T >::GTSAM_CONCEPT_ASSERT ( HasTestablePrereqs< T )

◆ Print()

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

Definition at line 157 of file Testable.h.


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


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