#include <CppUnitLite/TestHarness.h>#include <gtsam/base/Testable.h>#include <gtsam/base/TestableAssertions.h>#include <gtsam/base/numericalDerivative.h>#include <gtsam/constrained/InequalityPenaltyFunction.h>
Go to the source code of this file.
Functions | |
| int | main () |
| TEST (RampFunction, error_and_jacobian) | |
| TEST (RampFunctionPoly2, error_and_jacobian) | |
| TEST (RampFunctionPoly3, error_and_jacobian) | |
| TEST (SoftPlusFunction, error_and_jacobian) | |
| int main | ( | ) |
Definition at line 125 of file testInequalityPenaltyFunction.cpp.
| TEST | ( | RampFunction | , |
| error_and_jacobian | |||
| ) |
Helper function for numerical Jacobian computation.
Create a set of values to test the function.
Check function evaluation.
Check derivative.
Definition at line 28 of file testInequalityPenaltyFunction.cpp.
| TEST | ( | RampFunctionPoly2 | , |
| error_and_jacobian | |||
| ) |
Helper function for numerical Jacobian computation.
Create a set of values to test the function.
Check function evaluation.
Check derivative.
Definition at line 53 of file testInequalityPenaltyFunction.cpp.
| TEST | ( | RampFunctionPoly3 | , |
| error_and_jacobian | |||
| ) |
Helper function for numerical Jacobian computation.
Create a set of values to test the function.
Check function evaluation.
Check derivative.
Definition at line 77 of file testInequalityPenaltyFunction.cpp.
| TEST | ( | SoftPlusFunction | , |
| error_and_jacobian | |||
| ) |
Helper function for numerical Jacobian computation.
Create a set of values to test the function.
Check function evaluation.
Check derivative.
Definition at line 101 of file testInequalityPenaltyFunction.cpp.