ApprentissageProgrammationCpp  ..
Fonctions
Référence du fichier functor_example.cpp
#include <iostream>
#include <cmath>
#include <functional>

Fonctions

double fnewton (double x)
 [include] Plus de détails...
 
double dfnewton (double x)
 
double newton (double x0, double convergence, std::size_t nb_iter_max)
 
double newtonFunctor (std::function< double(double)> f, std::function< double(double)> df, double x0, double convergence, std::size_t nb_iter_max)
 [newton_no_functor] Plus de détails...
 
double fnewton2 (double x, double param)
 [newton_functor] Plus de détails...
 
double dfnewton2 (double x, double param)
 
int main ()
 [model] Plus de détails...
 

Documentation des fonctions

◆ dfnewton()

double dfnewton ( double  x)

◆ dfnewton2()

double dfnewton2 ( double  x,
double  param 
)

◆ fnewton()

double fnewton ( double  x)

[include]

[include] [newton_no_functor]

◆ fnewton2()

double fnewton2 ( double  x,
double  param 
)

[newton_functor]

[model]

◆ main()

int main ( )

[model]

[newton_no_functor_call]

[newton_no_functor_call]

[newton_functor_call_glob]

[newton_functor_call_glob]

[newton_functor_call_lambda1]

[newton_functor_call_lambda1]

[newton_functor_call_lambda2]

[newton_functor_call_lambda2]

[bind_manual]

[bind_manual]

[bind_std]

[bind_std]

[bind_composition]

[bind_composition]

◆ newton()

double newton ( double  x0,
double  convergence,
std::size_t  nb_iter_max 
)

◆ newtonFunctor()

double newtonFunctor ( std::function< double(double)>  f,
std::function< double(double)>  df,
double  x0,
double  convergence,
std::size_t  nb_iter_max 
)

[newton_no_functor]

[newton_functor]