00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00015
00016
00017 #ifndef _SPP_COMMON_H_
00018 #define _SPP_COMMON_H_
00019
00020
00021 #include <stdio.h>
00022
00023
00024 #include "sym_proto.h"
00025
00026
00027 #include "spp_types.h"
00028
00029 int *spp_lexsort PROTO((col_ordered *matrix));
00030 int spp_lexcompare PROTO((const void *i, const void *j));
00031 void spp_free_cmatrix PROTO((col_ordered *m));
00032 void spp_free_rmatrix PROTO((row_ordered *m));
00033 void spp_column_to_row PROTO((col_ordered *cm, row_ordered *rm, int *i_tmpm,
00034 int **istar_tmpm));
00035 void spp_row_to_column PROTO((row_ordered *rm, col_ordered *cm, int *i_tmpn,
00036 row_ind_type **rowindstar_tmpn));
00037 FILE *get_filehandler PROTO((int counter, char *filename, char *fname));
00038
00039 void spp_reverse_char_string PROTO((int len, char *string));
00040 void spp_reverse_int_string PROTO((int len, int *string));
00041 void spp_reverse_double_string PROTO((int len, double *string));
00042 void spp_free_cmatrix PROTO((col_ordered *m));
00043 void spp_free_rmatrix PROTO((row_ordered *m));
00044 void spp_column_to_row PROTO((col_ordered *cm, row_ordered *rm, int *i_tmpm,
00045 int **istar_tmpm));
00046 void spp_row_to_column PROTO((row_ordered *rm, col_ordered *cm, int *i_tmpn,
00047 row_ind_type **rowindstar_tmpn));
00048 int spp_is_orthogonal PROTO((col_ordered *cmatrix, int col1, int col2));
00049
00050 #endif