FindRoot headers
Signed-off-by: James Cherry <cherry@parallaxsw.com>
This commit is contained in:
parent
fe70638d83
commit
e8fc1c17d9
|
|
@ -16,8 +16,12 @@
|
||||||
|
|
||||||
#include "FindRoot.hh"
|
#include "FindRoot.hh"
|
||||||
|
|
||||||
|
#include <algorithm> // abs
|
||||||
|
|
||||||
namespace sta {
|
namespace sta {
|
||||||
|
|
||||||
|
using std::abs;
|
||||||
|
|
||||||
double
|
double
|
||||||
findRoot(FindRootFunc func,
|
findRoot(FindRootFunc func,
|
||||||
double x1,
|
double x1,
|
||||||
|
|
|
||||||
|
|
@ -16,7 +16,7 @@
|
||||||
|
|
||||||
#pragma once
|
#pragma once
|
||||||
|
|
||||||
#include <algorithm> // abs, min
|
#include <functional>
|
||||||
|
|
||||||
namespace sta {
|
namespace sta {
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue