109 template <
typename T>
131 template<
typename T,
typename T1>
136 plogisT y = 1./(1.+
mfexp((location - x) / scale));
Base class for dvariable.
dvariable dinvgamma(const dvariable &x, const double a, const double b)
Description not yet available.
dvariable dlnorm(const prevariable &x, const double &mu, const double &std)
Description not yet available.
Vector of double precision numbers.
dvector rmvlogistic(const dvector &p, const double &tau2, const int &seed)
dvariable dnbinom_tau(const double &x, const prevariable &mu, const prevariable &tau)
negative log likelihood of negative binomial with mean and tau
Description not yet available.
double splint(const dvector &xa, const dvector &ya, const dvector &y2a, double x)
dvar_vector eplogis(const dvar_vector &x, const dvariable &alpha, const dvariable &beta, const dvariable &gamma)
dvariable multifan(const dmatrix oprop, const dvar_matrix &pprop, const int &Nsamp)
dvar_matrix splie2(const dvector &_x1a, const dvector &_x2a, const dvar_matrix &_ya)
dvar_matrix ageLengthKey(const dvar_vector &mu, const dvar_vector &sig, const dvector &x)
Age Length Key.
Description not yet available.
vcubic_spline_function_array(int, int, const dvector &x, const dvar_matrix &_y)
dvar_vector cubic_spline(const dvar_vector &spline_nodes, const dvector &ip)
A Wrapper for the vcubic_spline_function.
d3_array mfexp(const d3_array &m)
Author: David Fournier Copyright (c) 2008-2012 Regents of the University of California.
dvariable dpois(const double &k, const prevariable &lambda)
vcubic_spline_function & operator()(int i)
double get_ft(const double &ct, const double &m, const dvector &va, const dvector &ba)
dvariable dmultinom(const dvector &x, const dvar_vector &p)
double neff(const dvector &obs, const dvar_vector &pred)
vcubic_spline_function ** ptr
vcubic_spline_function * pvcubic_spline_function
Author: David Fournier Copyright (c) 2008-2012 Regents of the University of California.
Description not yet available.
dvariable beta(const prevariable &a, const prevariable &b)
Beta density function.
dvector spline(const dvector &x, const dvector &y, double yp1, double ypn)
dvariable dnbinom(const double &x, const prevariable &mu, const prevariable &k)
negative log likelihood of negative binomial with mean=mu and variance = mu + mu^2 /k ...
Description not yet available.
dvariable dunif(const dvariable &x, const double min, const double max)
dvariable dgamma(const dvariable &x, const double &a, const double &b)
dvariable dmvlogistic(const dmatrix o, const dvar_matrix &p, dvar_matrix &nu, double &tau2, const double minp)
~vcubic_spline_function_array()
A class for implementin cubic splines.
Class definition of matrix with derivitive information .
dvector pearson_residuals(long m, dvector obs_p, dvector pred_p)
dvariable dnorm(const prevariable &x, const double &mu, const double &std)
dvariable dstudent_t(const dvar_vector &residual, const dvar_vector &df)
Description not yet available.
void bicubic_spline(const dvector &x, const dvector &y, dvar_matrix &knots, dvar_matrix &S)
df1b2variable dzinbinom(const double &x, const df1b2variable &mu, const df1b2variable &k, const df1b2variable &p)
ecologically parametarized negative binomial with zero inflation
dvariable dbinom(const prevariable &x, const double &n, const double &p)
dvariable dbeta(const dvariable &x, const double &shape1, const double &shape2)
void fill(const dmatrix &_d, const dvector &_v)
Description not yet available.
Fundamental data type for reverse mode automatic differentiation.
dvar_matrix ALK(dvar_vector mu, dvar_vector sig, dvector x)
dvariable splin2(const dvector &_x1a, const dvector &_x2a, const dvar_matrix _ya, dvar_matrix &_y2a, const double &x1, const double &x2)
dvariable plogis(const prevariable &x, const double &location, const double &scale)