ADMB Documentation
-a65f1c97
|
This file has routines used for Gauss-Hermite Quadrature and Gauss-Legendre Quadrature. More...
#include <fvar.hpp>
Go to the source code of this file.
Functions | |
void | gauss_hermite (const dvector &_t, const dvector &_wts) |
Gauss-Hermite quadature. More... | |
void | gauss_legendre (double a, double b, const dvector &_t, const dvector &_wts) |
Gauss-Legendre quadature. More... | |
void | gauss_legendre (const dvector &_x, const dvector &_w) |
Gauss-Legendre quadature. More... | |
void | imtqlx (const dvector &_d, const dvector &_e, const dvector &_z) |
Diagonalizes a symmetric tridiagonal matrix. More... | |
void | normalized_gauss_hermite (const dvector &_x, const dvector &_w) |
Gauss-Hermite quadature. More... | |
double | sign (const double x) |
The sign of a number. More... | |
This file has routines used for Gauss-Hermite Quadrature and Gauss-Legendre Quadrature.
Definition in file gaussher.cpp.
Gauss-Hermite quadature.
Computes a Gauss-Hermite quadrature formula with simple knots.
_t | array of abscissa |
_wts | array of corresponding wights |
Definition at line 36 of file gaussher.cpp.
Referenced by normalized_gauss_hermite().
Gauss-Legendre quadature.
computes knots and weights of a Gauss-Legendre quadrature formula.
a | Left endpoint of interval |
b | Right endpoint of interval |
_t | array of abscissa |
_wts | array of corresponding wights |
Definition at line 148 of file gaussher.cpp.
Referenced by gauss_legendre().
Gauss-Legendre quadature.
_x | array of abscissa |
_w | array of corresponding wights |
Definition at line 331 of file gaussher.cpp.
Diagonalizes a symmetric tridiagonal matrix.
_d | diagonal entries |
_e | the subdiagonals |
_z | a vector |
Definition at line 359 of file gaussher.cpp.
Referenced by gauss_hermite(), and gauss_legendre().
Gauss-Hermite quadature.
this is normlaized so that standard normal density integrates to 1
_x | array of abscissa |
_w | array of corresponding wights |
Definition at line 343 of file gaussher.cpp.
Referenced by gauss_hermite_stuff::gauss_hermite_stuff().
double sign | ( | const double | x | ) |
The sign of a number.
x | Double |
Definition at line 25 of file gaussher.cpp.
Referenced by csolve(), imtqlx(), itoa(), function_minimizer::likeprof_routine(), and solve().
Generated on Wed Sep 7 2022 00:01:31 for ADMB Documentation by 1.8.5 |