Revision a7a30ac2a6f34e1d7710938b4547e6b5b702d881 authored by Wayne Zhang on 16 August 2012, 00:00:00 UTC, committed by Gabor Csardi on 16 August 2012, 00:00:00 UTC
1 parent 0aa535d
Raw File
tweedie.h
/**
 * @file tweedie.h
 * @brief header files for compound Poisson density evaluation
 * @author Wayne Zhang                         
*/

#ifndef CPLM_TWEEDIE_H 
#define CPLM_TWEEDIE_H 

void dtweedie(int n,  double *y, double *mu, double phi, double p,
              double *wts, double *ans) ;

double dl2tweedie(int n, double *y, double *mu, double phi, double p,
                  double *wts) ;
SEXP cplm_dltweedie(SEXP y, SEXP mu, SEXP phi, SEXP p, SEXP wts) ;

#endif
back to top