ROOT
ROOT project
Loading...
Searching...
No Matches
Classes
solver_def.hpp File Reference

Contains definition of class Solver to find the root of a non-linear equation with some numerical methods. More...

#include <Eigen/Dense>
#include <Eigen/Sparse>
#include <functional>
#include <string>
#include "method.hpp"
#include "stepper_def.hpp"
Include dependency graph for solver_def.hpp:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

class  Solver< T >
 Class Solver managing the solving process and creating the Stepper object. More...
 

Detailed Description

Contains definition of class Solver to find the root of a non-linear equation with some numerical methods.

The Solver class will handle all the methods and arguments required for managing a solving process to find the root of a Non-linear function. For this scope, it will run a while loop and compute the error to check convergence, and will create an object of the Stepper class to actually computing the step, passing the required arguments to it. The results will be eventually stored in a Matrix, which will we passed to a Writer object to print it out in a file or in the output window.

Author
andreasaporito