Skip to content

File virus-meat.hpp

FileList > epiworld > virus-meat.hpp

Go to the source code of this file

  • #include "config.hpp"

Public Functions

Type Name
EPI_TYPENAME_TRAITS (TSeq, int)
VirusFun< TSeq > virus_fun_logit (std::vector< int > vars, std::vector< double > coefs, Model< TSeq > * model)
Factory function of VirusFun base on logit.

Public Functions Documentation

function EPI_TYPENAME_TRAITS

template<typename TSeq>
inline EPI_TYPENAME_TRAITS (
    TSeq,
    int
) 

function virus_fun_logit

Factory function of VirusFun base on logit.

template<typename TSeq>
inline VirusFun < TSeq > virus_fun_logit (
    std::vector< int > vars,
    std::vector< double > coefs,
    Model < TSeq > * model
) 

Template parameters:

  • TSeq

Parameters:

  • vars Vector indicating the position of the variables to use.
  • coefs Vector of coefficients.

Returns:

VirusFun<TSeq>



The documentation for this class was generated from the following file epiworld-src/include/epiworld/virus-meat.hpp