encodehelpers.h

来自「This a framework to test new ideas in tr」· C头文件 代码 · 共 42 行

H
42
字号
#ifndef ENCODEHELPERS_H__#define ENCODEHELPERS_H__//#include "spc.h"//#include "debugging.h"#include "graphcreate.h"/*************************** multiply a vector with  ** a specified part of H   ** using the sparseness of ** the graph               ***************************/void graphmultiply(graphs *graph, int rowstart, int rowend,                                  int colstart, int colend,                                  int *in, int *out);/********************************* perform a multiplication      ** with T^-1 without explicitly  ** computing T^-1 using the fact ** that T is lower triangular    ** and sparse                    *********************************/void multiplybytminusone(graphs *graph, int gap, int *in, int *out);/*******************  clear an array *******************/void cleararray (int *array, int length);/*******************  print a matrix *******************/void printmatrix (int *matrix, int gap, int vnodenum);#endif

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?