Namespaces | Macros | Functions
expressionTesting.h File Reference

Test harness methods for expressions. More...

#include <gtsam/nonlinear/ExpressionFactor.h>
#include <gtsam/nonlinear/factorTesting.h>
#include <gtsam/base/Testable.h>
Include dependency graph for expressionTesting.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Namespaces

 gtsam
 traits
 
 gtsam::internal
 

Macros

#define EXPECT_CORRECT_EXPRESSION_JACOBIANS(expression, values, numerical_derivative_step, tolerance)   { EXPECT(gtsam::internal::testExpressionJacobians(name_, expression, values, numerical_derivative_step, tolerance)); }
 Check the Jacobians produced by an expression against finite differences. More...
 

Functions

template<typename T >
bool gtsam::internal::testExpressionJacobians (const std::string &name_, const gtsam::Expression< T > &expression, const gtsam::Values &values, double nd_step, double tolerance)
 

Detailed Description

Test harness methods for expressions.

Date
September 18, 2014
Author
Frank Dellaert
Paul Furgale

Definition in file expressionTesting.h.

Macro Definition Documentation

◆ EXPECT_CORRECT_EXPRESSION_JACOBIANS

#define EXPECT_CORRECT_EXPRESSION_JACOBIANS (   expression,
  values,
  numerical_derivative_step,
  tolerance 
)    { EXPECT(gtsam::internal::testExpressionJacobians(name_, expression, values, numerical_derivative_step, tolerance)); }

Check the Jacobians produced by an expression against finite differences.

Parameters
expressionThe expression to test.
valuesValues filled in for testing the Jacobians.
numerical_derivative_stepThe step to use when computing the finite difference Jacobians
toleranceThe numerical tolerance to use when comparing Jacobians.

Definition at line 48 of file expressionTesting.h.



gtsam
Author(s):
autogenerated on Fri Nov 1 2024 03:43:16