Graph Framework
Loading...
Searching...
No Matches
newton.hpp File Reference

Sets up the kernel for a newtons method. More...

#include "workflow.hpp"

Go to the source code of this file.

Namespaces

namespace  solver
 Name space for solvers.
 

Functions

template<jit::float_scalar T, bool SAFE_MATH = false>
void solver::newton (workflow::manager< T, SAFE_MATH > &work, graph::output_nodes< T, SAFE_MATH > vars, graph::input_nodes< T, SAFE_MATH > inputs, graph::shared_leaf< T, SAFE_MATH > func, graph::shared_random_state< T, SAFE_MATH > state, const T tolarance=1.0E-30, const size_t max_iterations=1000, const T step=1.0)
 Determine the value of vars to minimze the loss function.
 

Detailed Description

Sets up the kernel for a newtons method.

Defines a dispersion function.