#include <functional>
#include <vector>
#include <cassert>
#include <cmath>
#include "binomial.h"
#include "snippet.h"
Go to the source code of this file.
|
#define | SET_DIAGONAL_BUILD_CODE(CODE) virtual std::string getDiagonalBuildCode() const override{ return CODE; } |
|
#define | SET_DIAGONAL_BUILD_STATE_VARS(...) virtual ParamValVec getDiagonalBuildStateVars() const override{ return __VA_ARGS__; } |
|
#define | SET_CALC_MAX_ROW_LENGTH_FUNC(FUNC) virtual CalcMaxLengthFunc getCalcMaxRowLengthFunc() 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; }; } |
|
◆ SET_CALC_KERNEL_SIZE_FUNC
#define SET_CALC_KERNEL_SIZE_FUNC |
( |
|
... | ) |
virtual CalcKernelSizeFunc getCalcKernelSizeFunc() const override{ return __VA_ARGS__; } |
◆ SET_CALC_MAX_ROW_LENGTH_FUNC
#define SET_CALC_MAX_ROW_LENGTH_FUNC |
( |
|
FUNC | ) |
virtual CalcMaxLengthFunc getCalcMaxRowLengthFunc() const override{ return FUNC; } |
◆ SET_DIAGONAL_BUILD_CODE
#define SET_DIAGONAL_BUILD_CODE |
( |
|
CODE | ) |
virtual std::string getDiagonalBuildCode() const override{ return CODE; } |
◆ SET_DIAGONAL_BUILD_STATE_VARS
#define SET_DIAGONAL_BUILD_STATE_VARS |
( |
|
... | ) |
virtual ParamValVec getDiagonalBuildStateVars() const override{ return __VA_ARGS__; } |
◆ 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; }; } |