summaryrefslogtreecommitdiffstats
path: root/nist/matrix.h
blob: d66e9a2c8ad5424b9e7d550d8cf625e9b17e9214 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
/* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * *
       R A N K  A L G O R I T H M  F U N C T I O N  P R O T O T Y P E S
 * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * */
struct bit {
   unsigned char b:1;
};
typedef struct bit BitField;


void       perform_elementary_row_operations(int,int,int,int,BitField**);
int        find_unit_element_and_swap(int,int,int,int, BitField**);
int        swap_rows(int, int, int, BitField**);
int        determine_rank(int, int, int, BitField**);
int        computeRank(int,int,BitField**);
void       define_matrix(int,int,int,BitField**);
BitField** create_matrix(int, int);
void       display_matrix(int, int, BitField**);
void def_matrix(int M, int Q, BitField** m,int k, int *pt, int *PT, int*DATA, int *ARRAY);
void       delete_matrix(int, BitField**);