evaluate.hpp File Reference
#include <algorithm>
#include <vector>
#include <boost/math/tools/polynomial.hpp>
Include dependency graph for evaluate.hpp:
Go to the source code of this file.
Namespaces | |
nil | |
nil::crypto3 | |
nil::crypto3::math | |
Functions | |
template<typename FieldValueType , typename Range > | |
FieldValueType | nil::crypto3::math::evaluate_lagrange_polynomial (const Range &domain, const FieldValueType &t, std::size_t m, std::size_t idx) |
template<typename FieldValueType , typename InputIterator > | |
FieldValueType | nil::crypto3::math::evaluate_lagrange_polynomial (InputIterator first, InputIterator last, const FieldValueType &t, std::size_t m, std::size_t idx) |
Naive evaluation of a single Lagrange polynomial, used for testing purposes. More... | |
template<typename FieldValueType , typename ContiguousContainer > | |
FieldValueType | nil::crypto3::math::evaluate_polynomial (const ContiguousContainer &coeff, const FieldValueType &t, std::size_t m) |
template<typename FieldValueType , typename ContiguousIterator > | |
FieldValueType | nil::crypto3::math::evaluate_polynomial (ContiguousIterator first, ContiguousIterator last, const FieldValueType &t, std::size_t m) |
Naive evaluation of a single polynomial, used for testing purposes. More... | |