A class which an index operator that always returns a constant value.
constexpr ConstantCoefficient(double c)
Stores the constant value that will be returned by the index operator.
double operator[](std::size_t) const
Index operator that always returns the same constant value.
static constexpr ConstantCoefficient COEFF_ZERO
An object which index operator always returns 0.
static constexpr ConstantCoefficient COEFF_ONE
An object which index operator always returns 1.