class QPanda::Brent

Overview

Given a function of one-variable, return the local minimum of the function isolated to a fractional precision of tol. More...

Detailed Documentation

Given a function of one-variable, return the local minimum of the function isolated to a fractional precision of tol.

Uses inverse parabolic interpolation when possible to speed up convergence of golden section method.

Construction

Constructor of Brent.

Methods

execute optimization

get result

Returns:

std::pair<double, QResultPair> result