43 #ifndef MAT_DH_PRIVATE
44 #define MAT_DH_PRIVATE
52 #include "euclid_common.h"
58 extern int mat_find_owner (
int *beg_rows,
int *end_rows,
int index);
60 extern void mat_dh_transpose_private (
int m,
int *rpIN,
int **rpOUT,
61 int *cvalIN,
int **cvalOUT,
62 double *avalIN,
double **avalOUT);
65 extern void mat_dh_transpose_reuse_private (
int m,
66 int *rpIN,
int *cvalIN,
67 double *avalIN,
int *rpOUT,
68 int *cvalOUT,
double *avalOUT);
80 extern void readMat (
Mat_dh * Aout,
char *fileType,
char *fileName,
82 extern void readVec (
Vec_dh * bout,
char *fileType,
char *fileName,
84 extern void writeMat (
Mat_dh Ain,
char *fileType,
char *fileName);
85 extern void writeVec (
Vec_dh b,
char *fileType,
char *fileName);
91 extern void readMat_par (
Mat_dh * Aout,
char *fileType,
char *fileName,
94 extern void profileMat (
Mat_dh A);
121 extern void mat_dh_print_graph_private (
int m,
int beg_row,
int *rp,
122 int *cval,
double *aval,
int *n2o,
134 extern void mat_dh_print_csr_private (
int m,
int *rp,
int *cval,
135 double *aval, FILE * fp);
139 extern void mat_dh_read_csr_private (
int *m,
int **rp,
int **cval,
140 double **aval, FILE * fp);
143 extern void mat_dh_read_triples_private (
int ignore,
int *m,
int **rp,
144 int **cval,
double **aval,
154 extern void create_nat_ordering_private (
int m,
int **p);
155 extern void destroy_nat_ordering_private (
int *p);
156 extern void invert_perm (
int m,
int *pIN,
int *pOUT);
159 extern void make_full_private (
int m,
int **rp,
int **cval,
double **aval);
164 extern void make_symmetric_private (
int m,
int **rp,
int **cval,
168 extern void make_symmetric_private (
int m,
int **rp,
int **cval,