6 #include "../tensor/algstrct.h"    26                int const *      offsets = NULL);
    46                  int const *      prepadding,
    49                  int64_t *        new_num_pair,
   103                      int const *      phys_phase,
   104                      int const *      virt_phase,
   105                      int const *      cphase_rank,
   107                      algstrct 
const * sr);
   128                  int const *      edge_len,
   132                  int const *      phys_phase,
   133                  int const *      virt_phase,
   134                  int const *      cphase_rank,
   137                  int const *      sym_mask);
 void zero_padding(int order, int64_t size, int nvirt, int const *edge_len, int const *sym, int const *padding, int const *phase, int const *phys_phase, int const *virt_phase, int const *cphase_rank, char *vdata, algstrct const *sr)
sets to zero all values in padded region of tensor 
void pad_key(int order, int64_t num_pair, int const *edge_len, int const *padding, PairIterator pairs, algstrct const *sr, int const *offsets)
applies padding to keys 
void scal_diag(int order, int64_t size, int nvirt, int const *edge_len, int const *sym, int const *padding, int const *phase, int const *phys_phase, int const *virt_phase, int const *cphase_rank, char *vdata, algstrct const *sr, int const *sym_mask)
scales each element by 1/(number of entries equivalent to it after permutation of indices for which s...
void depad_tsr(int order, int64_t num_pair, int const *edge_len, int const *sym, int const *padding, int const *prepadding, char const *pairsb, char *new_pairsb, int64_t *new_num_pair, algstrct const *sr)
retrieves the unpadded pairs