unity_root.hpp File Reference
#include <type_traits>
#include <complex>
#include <boost/math/constants/constants.hpp>
#include <nil/crypto3/algebra/fields/params.hpp>
Include dependency graph for unity_root.hpp:
This graph shows which files directly or indirectly include this file:
Go to the source code of this file.
Namespaces | |
nil | |
nil::crypto3 | |
nil::crypto3::math | |
Functions | |
template<typename FieldType > | |
constexpr std::enable_if< std::is_same< typename FieldType::value_type, std::complex< double > >::value, typename FieldType::value_type >::type | nil::crypto3::math::unity_root (const std::size_t n) |
template<typename FieldType > | |
constexpr std::enable_if<!std::is_same< typename FieldType::value_type, std::complex< double > >::value, typename FieldType::value_type >::type | nil::crypto3::math::unity_root (const std::size_t n) |