#include <itpp/base/bessel/bessel_internal.h>
#include <itpp/base/itassert.h>
#include <itpp/base/itcompat.h>
#include <itpp/base/math/misc.h>
Defines | |
#define | INFINITY 1.79769313486231570815E308 |
#define | NAN 0.0 |
Functions | |
double | gam (double x) |
double | lgam (double x) |
Variables | |
int | sgngam = 0 |
-------------------------------------------------------------------------
Copyright (C) 1995-2008 (see AUTHORS file for a list of contributors)
This file is part of IT++ - a C++ library of mathematical, signal processing, speech processing, and communications classes and functions.
IT++ is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version.
IT++ is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.
You should have received a copy of the GNU General Public License along with IT++. If not, see <http://www.gnu.org/licenses/>.
-------------------------------------------------------------------------
This is slightly modified routine from the Cephes library: http://www.netlib.org/cephes/
double lgam | ( | double | x | ) |
Logarithm of gamma function
References itpp::floor(), it_warning, itpp::log(), and itpp::sin().