NuTo
Numerics Tool
Functions
Legendre.cpp File Reference
#include "nuto/math/Legendre.h"
#include <boost/range/algorithm/sort.hpp>
#include <boost/range/algorithm/transform.hpp>
#include <cmath>
#include <vector>

Functions

double FindLegendreRoot (double guess, int n, int derivative)
 
std::vector< double > FindLegendreRoots (std::vector< double > guess, int n, int derivative)
 
std::vector< double > FirstGuess (int n)
 

Function Documentation

double FindLegendreRoot ( double  guess,
int  n,
int  derivative 
)
std::vector<double> FindLegendreRoots ( std::vector< double >  guess,
int  n,
int  derivative 
)
std::vector<double> FirstGuess ( int  n)