#include "mlir/Dialect/Polynomial/IR/Polynomial.h"
#include "llvm/ADT/SmallVector.h"
namespace mlir {
namespace polynomial {
template <typename PolyT, typename MonomialT>
FailureOr<PolyT> fromMonomialsImpl(ArrayRef<MonomialT> monomials) { … }
FailureOr<IntPolynomial>
IntPolynomial::fromMonomials(ArrayRef<IntMonomial> monomials) { … }
FailureOr<FloatPolynomial>
FloatPolynomial::fromMonomials(ArrayRef<FloatMonomial> monomials) { … }
template <typename PolyT, typename MonomialT, typename CoeffT>
PolyT fromCoefficientsImpl(ArrayRef<CoeffT> coeffs) { … }
IntPolynomial IntPolynomial::fromCoefficients(ArrayRef<int64_t> coeffs) { … }
FloatPolynomial FloatPolynomial::fromCoefficients(ArrayRef<double> coeffs) { … }
}
}