EpiNow2 Stan Functions
epinow2::internal::renewal_state< Vec > Struct Template Reference

#include <renewal_infections.hpp>

Public Attributes

Vec I
 
Vec lambda
 
Vec S
 
Vec e
 
Vec a
 
Vec flag
 

Detailed Description

template<typename Vec>
struct epinow2::internal::renewal_state< Vec >

Forward values kept for the reverse pass.

Each member has one entry per time step, except I, which also holds the seeds. The entries of flag are bit sets, with 1 for depletion, 2 for S = pop - C (not the floor) and 4 for fmax(0, 1 - e) passing 1 - e through.

Template Parameters
VecVector type, either Eigen::VectorXd or an arena vector.

Definition at line 74 of file renewal_infections.hpp.

Member Data Documentation

◆ a

template<typename Vec >
Vec epinow2::internal::renewal_state< Vec >::a

Definition at line 75 of file renewal_infections.hpp.

Referenced by epinow2::renewal_infections().

◆ e

template<typename Vec >
Vec epinow2::internal::renewal_state< Vec >::e

Definition at line 75 of file renewal_infections.hpp.

Referenced by epinow2::renewal_infections().

◆ flag

template<typename Vec >
Vec epinow2::internal::renewal_state< Vec >::flag

Definition at line 75 of file renewal_infections.hpp.

Referenced by epinow2::renewal_infections().

◆ I

template<typename Vec >
Vec epinow2::internal::renewal_state< Vec >::I

Definition at line 75 of file renewal_infections.hpp.

Referenced by epinow2::renewal_infections().

◆ lambda

template<typename Vec >
Vec epinow2::internal::renewal_state< Vec >::lambda

Definition at line 75 of file renewal_infections.hpp.

Referenced by epinow2::renewal_infections().

◆ S

template<typename Vec >
Vec epinow2::internal::renewal_state< Vec >::S

Definition at line 75 of file renewal_infections.hpp.

Referenced by epinow2::renewal_infections().


The documentation for this struct was generated from the following file: