Go to the source code of this file.
Namespaces | |
namespace | codegen-rosenbrock |
Variables | |
x = SX.sym("x") | |
y = SX.sym("y") | |
z = SX.sym("z") | |
unknwns = vertcat(x, y, z) | |
w = SX.sym("w") | |
int | f = x**2 + 100*z**2 |
int | g = z + (1-x)**2 - y |
cg = CodeGenerator(f"{argv[1]}.c") | |