MCPcopy Create free account
hub / github.com/bgrimstad/splinter / sixHumpCamelBack

Function sixHumpCamelBack

test/testingutilities.cpp:553–557  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

551
552
553double sixHumpCamelBack(DenseVector x)
554{
555 assert(x.rows() == 2);
556 return (4 - 2.1*x(0)*x(0) + (1/3.)*x(0)*x(0)*x(0)*x(0))*x(0)*x(0) + x(0)*x(1) + (-4 + 4*x(1)*x(1))*x(1)*x(1);
557}
558
559double getOneNorm(const DenseMatrix &m)
560{

Callers 1

sampleTestFunctionFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected