Loading [MathJax]/extensions/TeX/AMSsymbols.js
LALPulsar 7.1.1.1-8a6b96f
All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Modules Pages
TwoSpectSpecFunc.h
Go to the documentation of this file.
1/*
2 * Copyright (C) 2011 Evan Goetz
3 *
4 * This program is free software; you can redistribute it and/or modify
5 * it under the terms of the GNU General Public License as published by
6 * the Free Software Foundation; either version 2 of the License, or
7 * (at your option) any later version.
8 *
9 * This program is distributed in the hope that it will be useful,
10 * but WITHOUT ANY WARRANTY; without even the implied warranty of
11 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
12 * GNU General Public License for more details.
13 *
14 * You should have received a copy of the GNU General Public License
15 * along with with program; see the file COPYING. If not, write to the
16 * Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston,
17 * MA 02110-1301 USA
18 */
19
20
21#ifndef __TWOSPECTSPECFUNC_H__
22#define __TWOSPECTSPECFUNC_H__
23
24#include <lal/LALStdlib.h>
25
27 double *c; /* coefficients */
28 int order; /* order of expansion */
29 double a; /* lower interval point */
30 double b; /* upper interval point */
31 int order_sp; /* effective single precision order */
32};
33typedef struct cheb_series_struct cheb_series;
34
37INT4 DirichletKernalLargeNHannRatio( COMPLEX8 *ratio, const REAL4 delta0, const REAL4 delta1, const REAL4 scaling );
38
42REAL8 rat_eval( const REAL8 a[], const size_t na, const REAL8 b[], const size_t nb, const REAL8 x );
51REAL8 twospect_cheb_eval( const cheb_series *cs, REAL8 x );
58REAL8 epsval( REAL8 val );
60
62
63void sumseries( REAL8 *computedprob, REAL8 P, REAL8 C, REAL8 E, INT8 counter, REAL8 x, REAL8 dof, REAL8 halfdelta, REAL8 err, INT4 countdown );
64void sumseries_eg( REAL8 *computedprob, REAL8 P, REAL8 C, REAL8 E, INT8 counter, REAL8 x, REAL8 dof, REAL8 halfdelta, REAL8 err, INT4 countdown );
65
66#endif
void sumseries_eg(REAL8 *computedprob, REAL8 P, REAL8 C, REAL8 E, INT8 counter, REAL8 x, REAL8 dof, REAL8 halfdelta, REAL8 err, INT4 countdown)
REAL8 ran_gamma_pdf(REAL8 x, REAL8 a, REAL8 b)
REAL8 twospect_intermediate(REAL8 r)
REAL8 gamma_inc_Q_asymp_unif(REAL8 a, REAL8 x)
REAL8 twospect_cheb_eval(const cheb_series *cs, REAL8 x)
REAL8 twospect_small(REAL8 q)
INT4 gamma_inc_F_CF(REAL8 *out, REAL8 a, REAL8 x)
INT4 sf_gamma_inc_Q(REAL8 *out, REAL8 a, REAL8 x)
INT4 gamma_inc_Q_CF(REAL8 *out, REAL8 a, REAL8 x)
INT4 sf_gamma_inc_P(REAL8 *out, REAL8 a, REAL8 x)
INT4 gamma_inc_Q_series(REAL8 *out, REAL8 a, REAL8 x)
void sumseries(REAL8 *computedprob, REAL8 P, REAL8 C, REAL8 E, INT8 counter, REAL8 x, REAL8 dof, REAL8 halfdelta, REAL8 err, INT4 countdown)
INT4 twospect_sf_gammastar(REAL8 *out, REAL8 x)
REAL8 gammastar_ser(REAL8 x)
INT4 DirichletKernalLargeNHannRatio(COMPLEX8 *ratio, const REAL4 delta0, const REAL4 delta1, const REAL4 scaling)
Compute the argument of the ratio of Dirichlet kernels for large N values and the Hann window.
REAL8 epsval(REAL8 val)
COMPLEX16 DirichletKernelLargeNHann(const REAL8 delta)
Compute the Dirichlet kernel for large N values and the Hann window.
REAL4 epsval_float(REAL4 val)
INT4 gamma_inc_D(REAL8 *out, REAL8 a, REAL8 x)
INT4 gamma_inc_P_series(REAL8 *out, REAL8 a, REAL8 x)
REAL8 sf_exprel_n_CF(REAL8 N, REAL8 x)
REAL8 binodeviance(REAL8 x, REAL8 np)
REAL8 matlab_gamma_inc(REAL8 x, REAL8 a, INT4 upper)
REAL8 gamma_inc_Q_large_x(REAL8 a, REAL8 x)
REAL8 twospect_tail(REAL8 r)
COMPLEX16 DirichletKernelLargeN(const REAL8 delta)
Compute the Dirichlet kernel for large N values.
REAL8 rat_eval(const REAL8 a[], const size_t na, const REAL8 b[], const size_t nb, const REAL8 x)
double complex COMPLEX16
double REAL8
int64_t INT8
float complex COMPLEX8
int32_t INT4
float REAL4
static const INT4 r
static const INT4 q
static const INT4 a