StanUtils.h
Go to the documentation of this file.
1 #pragma once
2 
4 
5 #include <Eigen/Dense>
6 namespace Eigen{
7  using ArrayXstan = Eigen::Array<stan::math::var, Eigen::Dynamic, 1>;
8 }
9 
10 namespace ana
11 {
12  /// Variant that handles the prediction in the form of Stan vars
14  const Eigen::ArrayXd& obs);
15 
16 }
Cuts and Vars for the 2020 FD DiF Study.
Definition: vars.h:6
Definition: StanUtils.h:6
double LogLikelihood(const Eigen::ArrayXd &ea, const Eigen::ArrayXd &oa, bool useOverflow)
The log-likelihood formula from the PDG.
Definition: EigenUtils.cxx:36
fvar< T > exp(const fvar< T > &x)
Definition: exp.hpp:10
Eigen::Array< stan::math::var, Eigen::Dynamic, 1 > ArrayXstan
Definition: StanUtils.h:7