include/it/math.h File Reference

#include <math.h>
#include <it/types.h>

Go to the source code of this file.

Defines

#define NAN   (sqrt(-1))
#define M_PI   3.141592653589793238
#define M_E   2.71828182845905
#define LOG2   0.69314718055994529
#define INVLOG2   1.44269504088896339
#define log2(x)   (INVLOG2 * log(x))
#define IT_EPSILON   (1e-10)

Functions

double erfinv (double x)
int nchoosek (int n, int k)
double lognchoosek (int n, int k)
double log_sum (double log_a, double log_b)
double log_gamma (double x)
double sigmoid (double x, double lambda)
double invsigmoid (double x, double lambda)
 it_function_args (itf_gaussian)
 it_function_args (itf_laplacian)
 it_function_args (itf_generalized_gaussian)
 it_function_args (itf_differentiate)
 it_function_args (itf_diff2)
 it_function_args (itf_integrate_trapezoid)
 it_function_args (itf_integrate_romberg)
 it_function_args (itf_integrate)
 it_function_args (itf_expectation)
 it_function_args (itf_compose)
 it_function_args (itf_sum)
 it_function_args (itf_mul)
double it_integrate (it_function_t function, it_args_t args, double a, double b)
double it_differentiate (it_function_t function, it_args_t args, double a)

Variables

it_function_t itf_identity
it_function_t itf_gaussian
it_function_t itf_laplacian
it_function_t itf_generalized_gaussian
it_function_t itf_differentiate
it_function_t itf_diff2
it_function_t itf_integrate_trapezoid
it_function_t itf_integrate_romberg
it_function_t itf_integrate
it_function_t itf_expectation
it_function_t itf_compose
it_function_t itf_sum
it_function_t itf_mul


Hosted by
Copyright (C) 2005-2006 Hervé Jégou
Vivien Chappelier
Francois Cayre
libit logo courtesy of Jonathan Delhumeau