Skip to content

File tool-meat.hpp

FileList > epiworld > tool-meat.hpp

Go to the source code of this file

Public Functions

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

Public Functions Documentation

function EPI_TYPENAME_TRAITS

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

function tool_fun_logit

Factory function of ToolFun base on logit.

template<typename TSeq>
inline ToolFun < TSeq > tool_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:

ToolFun<TSeq>



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