4 #include "../tensor/algstrct.h"    74       void set_data(int64_t nz, 
int order, 
int const * lens, 
int const * ordering, 
int nrow_idx, 
char const * tsr_data, 
algstrct const * sr, 
int const * phase);
    88       void get_data(int64_t nz, 
int order, 
int const * lens, 
int const * rev_ordering, 
int nrow_idx, 
char * tsr_data, 
algstrct const * sr, 
int const * phase, 
int const * phase_rank);
    93       static void coomm(
char const * A, 
algstrct const * sr_A, 
int m, 
int n, 
int k, 
char const * alpha, 
char const * B, 
algstrct const * sr_B, 
char const * beta, 
char * C, 
algstrct const * sr_C, 
bivar_function const * func);
 int * rows() const 
retrieves pointer to array row indices of each value 
int64_t get_coo_size(int64_t nnz, int val_size)
int bivar_function(int n, World &dw)
int64_t size() const 
retrieves buffer size out of all_data 
untyped internal class for triply-typed bivariate function 
char * all_data
serialized buffer containing info and data 
COO_Matrix(int64_t nnz, algstrct const *sr)
constructor that allocates empty buffer 
int ncol() const 
retrieves number of columns out of all_data 
int * cols() const 
retrieves pointer to array of column indices for each value 
int64_t nnz() const 
retrieves number of nonzeros out of all_data 
void get_data(int64_t nz, int order, int const *lens, int const *rev_ordering, int nrow_idx, char *tsr_data, algstrct const *sr, int const *phase, int const *phase_rank)
unfolds tensor data from COO format based on prespecification of row and column modes ...
serialized matrix in coordinate format, meaning three arrays of dimension nnz are stored...
int nrow() const 
retrieves number of rows out of all_data 
abstraction for a serialized sparse matrix stored in column-sparse-row (CSR) layout ...
static void coomm(char const *A, algstrct const *sr_A, int m, int n, int k, char const *alpha, char const *B, algstrct const *sr_B, char const *beta, char *C, algstrct const *sr_C, bivar_function const *func)
computes C = beta*C + func(alpha*A*B) where A is a COO_Matrix, while B and C are dense ...
void set_data(int64_t nz, int order, int const *lens, int const *ordering, int nrow_idx, char const *tsr_data, algstrct const *sr, int const *phase)
folds tensor data into COO format based on prespecification of row and column modes ...
int val_size() const 
retrieves matrix entry size out of all_data 
algstrct (algebraic structure) defines the elementwise operations computed in each tensor contraction...
char * vals() const 
retrieves pointer to array of values out of all_data