MayaFlux 1.0.0
Digital-First Multimedia Processing Framework
Loading...
Searching...
No Matches
RootFinding.hpp File Reference

Roots of scalar functions held inside a bracket. More...

This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

struct  MayaFlux::Kinesis::RootOptions
 Stopping rule of a root search. More...

Namespaces

namespace  MayaFlux
 Main namespace for the Maya Flux audio engine.
namespace  MayaFlux::Kinesis

Typedefs

using MayaFlux::Kinesis::RootResult = std::pair<double, RootStatus>
 The best point found and how the search ended.
using MayaFlux::Kinesis::RootSample = std::pair<double, double>
 Value and slope of a function at one point.

Enumerations

enum class  MayaFlux::Kinesis::RootStatus : uint8_t { MayaFlux::Kinesis::CONVERGED , MayaFlux::Kinesis::MAX_ITERATIONS , MayaFlux::Kinesis::NO_BRACKET , MayaFlux::Kinesis::NOT_FINITE }
 How a root search ended. More...

Functions

template<typename Function>
requires std::invocable<Function&, double> && std::convertible_to<std::invoke_result_t<Function&, double>, RootSample>
RootResult MayaFlux::Kinesis::bracketed_newton (Function function, double lower, double upper, double guess, const RootOptions &options={})
 Root of an increasing function by Newton steps kept inside a bracket.

Detailed Description

Roots of scalar functions held inside a bracket.

Definition in file RootFinding.hpp.