#include <functional>
#include <vector>
#include <cassert>
#include <cmath>
#include "binomial.h"
#include "snippet.h"
Go to the source code of this file.
|  | 
| #define | SET_ROW_BUILD_CODE(CODE)   virtual std::string getRowBuildCode() const override{ return CODE; } | 
|  | 
| #define | SET_ROW_BUILD_STATE_VARS(...)   virtual ParamValVec getRowBuildStateVars() const override{ return __VA_ARGS__; } | 
|  | 
| #define | SET_COL_BUILD_CODE(CODE)   virtual std::string getColBuildCode() const override{ return CODE; } | 
|  | 
| #define | SET_COL_BUILD_STATE_VARS(...)   virtual ParamValVec getColBuildStateVars() const override{ return __VA_ARGS__; } | 
|  | 
| #define | SET_HOST_INIT_CODE(CODE)   virtual std::string getHostInitCode() const override{ return CODE; } | 
|  | 
| #define | SET_CALC_MAX_ROW_LENGTH_FUNC(FUNC)   virtual CalcMaxLengthFunc getCalcMaxRowLengthFunc() const override{ return FUNC; } | 
|  | 
| #define | SET_CALC_MAX_COL_LENGTH_FUNC(FUNC)   virtual CalcMaxLengthFunc getCalcMaxColLengthFunc() const override{ return FUNC; } | 
|  | 
| #define | SET_CALC_KERNEL_SIZE_FUNC(...)   virtual CalcKernelSizeFunc getCalcKernelSizeFunc() const override{ return __VA_ARGS__; } | 
|  | 
| #define | SET_MAX_ROW_LENGTH(MAX_ROW_LENGTH)   virtual CalcMaxLengthFunc getCalcMaxRowLengthFunc() const override{ return [](unsigned int, unsigned int, const std::vector<double> &){ return MAX_ROW_LENGTH; }; } | 
|  | 
| #define | SET_MAX_COL_LENGTH(MAX_COL_LENGTH)   virtual CalcMaxLengthFunc getCalcMaxColLengthFunc() const override{ return [](unsigned int, unsigned int, const std::vector<double> &){ return MAX_COL_LENGTH; }; } | 
|  | 
◆ SET_CALC_KERNEL_SIZE_FUNC
      
        
          | #define SET_CALC_KERNEL_SIZE_FUNC | ( |  | ... | ) | virtual CalcKernelSizeFunc getCalcKernelSizeFunc() const override{ return __VA_ARGS__; } | 
      
 
 
◆ SET_CALC_MAX_COL_LENGTH_FUNC
      
        
          | #define SET_CALC_MAX_COL_LENGTH_FUNC | ( |  | FUNC | ) | virtual CalcMaxLengthFunc getCalcMaxColLengthFunc() const override{ return FUNC; } | 
      
 
 
◆ SET_CALC_MAX_ROW_LENGTH_FUNC
      
        
          | #define SET_CALC_MAX_ROW_LENGTH_FUNC | ( |  | FUNC | ) | virtual CalcMaxLengthFunc getCalcMaxRowLengthFunc() const override{ return FUNC; } | 
      
 
 
◆ SET_COL_BUILD_CODE
      
        
          | #define SET_COL_BUILD_CODE | ( |  | CODE | ) | virtual std::string getColBuildCode() const override{ return CODE; } | 
      
 
 
◆ SET_COL_BUILD_STATE_VARS
      
        
          | #define SET_COL_BUILD_STATE_VARS | ( |  | ... | ) | virtual ParamValVec getColBuildStateVars() const override{ return __VA_ARGS__; } | 
      
 
 
◆ SET_HOST_INIT_CODE
      
        
          | #define SET_HOST_INIT_CODE | ( |  | CODE | ) | virtual std::string getHostInitCode() const override{ return CODE; } | 
      
 
 
◆ SET_MAX_COL_LENGTH
      
        
          | #define SET_MAX_COL_LENGTH | ( |  | MAX_COL_LENGTH | ) | virtual CalcMaxLengthFunc getCalcMaxColLengthFunc() const override{ return [](unsigned int, unsigned int, const std::vector<double> &){ return MAX_COL_LENGTH; }; } | 
      
 
 
◆ SET_MAX_ROW_LENGTH
      
        
          | #define SET_MAX_ROW_LENGTH | ( |  | MAX_ROW_LENGTH | ) | virtual CalcMaxLengthFunc getCalcMaxRowLengthFunc() const override{ return [](unsigned int, unsigned int, const std::vector<double> &){ return MAX_ROW_LENGTH; }; } | 
      
 
 
◆ SET_ROW_BUILD_CODE
      
        
          | #define SET_ROW_BUILD_CODE | ( |  | CODE | ) | virtual std::string getRowBuildCode() const override{ return CODE; } | 
      
 
 
◆ SET_ROW_BUILD_STATE_VARS
      
        
          | #define SET_ROW_BUILD_STATE_VARS | ( |  | ... | ) | virtual ParamValVec getRowBuildStateVars() const override{ return __VA_ARGS__; } |