6 const std::vector<double>&
limits)
7 : coeffs_(coeffs), limits_(
limits) {
9 throw cms::Exception(
"Invalid PiecewiseScalingPolynomial constructor arguments");
13 const std::size_t nLimits(
limits_.size());
16 if (nLimits >= static_cast<std::size_t>(UINT_MAX))
20 for (std::size_t
i = 0;
i < nLimits - 1; ++
i)
23 if (
coeffs_.size() != nLimits + 1)
25 for (std::size_t
i = 0;
i <= nLimits; ++
i) {
28 if (
coeffs_[
i].
size() >= static_cast<std::size_t>(INT_MAX))