7 #include <boost/shared_ptr.hpp>
9 #ifndef PBORI_GB_CACHE_H
10 #define PBORI_GB_CACHE_H
14 template<
class idx_type1,
class idx_type2>
void set_up_translation_vectors(std::vector<idx_type1>& ring_2_0123, std::vector<idx_type2>& back_2_ring,
const Exponent& used_variables){
19 ring_2_0123[*it]=idx_0123;
20 back_2_ring[idx_0123]=*it;
33 typedef boost::shared_ptr<poly_vec_type>
res_type;
44 std::vector<idx_type> back_2_ring(used_exp.
size());
45 std::vector<idx_type> ring_2_0123(nv);
57 for(poly_vec_type::size_type i=0;i<res->size();i++){
70 std::vector<idx_type> back_2_ring(used_exp.
size());
71 std::vector<idx_type> ring_2_0123(nv);
76 for(poly_vec_type::size_type i=0;i<value_t.size();i++){