Cyclops Tensor Framework
parallel arithmetic on multidimensional arrays
pad.h File Reference
Include dependency graph for pad.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Namespaces

 CTF_int
 

Functions

void CTF_int::pad_key (int order, int64_t num_pair, int const *edge_len, int const *padding, PairIterator pairs, algstrct const *sr, int const *offsets=NULL)
 applies padding to keys More...
 
void CTF_int::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 More...
 
void CTF_int::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 More...
 
void CTF_int::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 sym_mask is 1) More...