Symmetric Polynomials  V3.1
A C++ library for generating symmetric polynomials with relations
General.hpp
Go to the documentation of this file.
1 #pragma once
2 #include <numeric>
3 #include <iostream>
4 
5 #if defined(__GNUC__)
6 #include "x86intrin.h"
7 #elif defined(_MSC_VER)
8 #include "intrin.h"
9 #endif
10 
13 
15 namespace symmp
16 {
17 
19  struct crc;
20 
22  struct boost_hash;
23 
29  template <typename T, typename hasher = boost_hash>
30  size_t generic_hasher(const T &v);
31 
39  template <typename R, typename T, typename S>
40  R general_compute_degree(const T &exp, const S &dim);
41 
42 }
43 #include "impl/General.ipp"
The namespace which contains every method and class in the library.
Definition: General.hpp:16
R general_compute_degree(const T &exp, const S &dim)
Degree computation given exponent and dimensions (grading).
size_t generic_hasher(const T &v)
A generic hashing function that calls other hashing functions.