MCPcopy Create free account
hub / github.com/TheAlgorithms/C-Plus-Plus / test1

Function test1

numerical_methods/brent_method_extrema.cpp:144–158  ·  view source on GitHub ↗

* @brief Test function to find root for the function * \f$f(x)= (x-2)^2\f$ * in the interval \f$[1,5]\f$ * \n Expected result = 2 */

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers 1

mainFunction · 0.70

Calls 1

get_minimaFunction · 0.70

Tested by

no test coverage detected