Functions
testInequalityPenaltyFunction.cpp File Reference
#include <CppUnitLite/TestHarness.h>
#include <gtsam/base/Testable.h>
#include <gtsam/base/TestableAssertions.h>
#include <gtsam/base/numericalDerivative.h>
#include <gtsam/constrained/InequalityPenaltyFunction.h>
Include dependency graph for testInequalityPenaltyFunction.cpp:

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)
 

Function Documentation

◆ main()

int main ( )

Definition at line 125 of file testInequalityPenaltyFunction.cpp.

◆ TEST() [1/4]

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() [2/4]

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() [3/4]

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() [4/4]

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.



gtsam
Author(s):
autogenerated on Fri Mar 28 2025 03:09:26