Classes | Functions
rosenbrock Namespace Reference

Classes

class  Rosenbrock1Factor
 
class  Rosenbrock2Factor
 Factor for the second term of the Rosenbrock function. f2 = (y - x*x) More...
 

Functions

double f (const NonlinearFactorGraph &graph, double x, double y)
 
static NonlinearFactorGraph GetRosenbrockGraph (double a=1.0, double b=100.0)
 Get a nonlinear factor graph representing the Rosenbrock Banana function. More...
 
double rosenbrock_func (double x, double y, double a=1.0, double b=100.0)
 True Rosenbrock Banana function. More...
 

Function Documentation

◆ f()

double rosenbrock::f ( const NonlinearFactorGraph graph,
double  x,
double  y 
)

Compute the Rosenbrock function error given the nonlinear factor graph and input values.

Definition at line 161 of file testNonlinearConjugateGradientOptimizer.cpp.

◆ GetRosenbrockGraph()

static NonlinearFactorGraph rosenbrock::GetRosenbrockGraph ( double  a = 1.0,
double  b = 100.0 
)
static

Get a nonlinear factor graph representing the Rosenbrock Banana function.

More details: https://en.wikipedia.org/wiki/Rosenbrock_function

Parameters
a
b
Returns
NonlinearFactorGraph

Definition at line 148 of file testNonlinearConjugateGradientOptimizer.cpp.

◆ rosenbrock_func()

double rosenbrock::rosenbrock_func ( double  x,
double  y,
double  a = 1.0,
double  b = 100.0 
)

True Rosenbrock Banana function.

Definition at line 170 of file testNonlinearConjugateGradientOptimizer.cpp.



gtsam
Author(s):
autogenerated on Sun Dec 22 2024 04:25:01