Commit 6bb51a74 authored by Alexander Lapshin's avatar Alexander Lapshin

.

parent cbaaa495
#pragma once
#include <algorithm>
#include <cmath>
template<typename T> double golden_section_search(const T& f, double a, double b, double tol)
{
double invphi = (sqrt(5.0) - 1) / 2.0;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment