Class SwitchPriorErrorTerm

Class Documentation

class ceres_error_terms::SwitchPriorErrorTerm

Public Functions

inline SwitchPriorErrorTerm(double prior, double variance)
template<typename T>
bool operator()(const T *const switch_variable, T *residual) const

Public Static Attributes

static constexpr int residualBlockSize = 1
static constexpr int switchVariableBlockSize = 1