File: matrix.h

package info (click to toggle)
poc-streamer 0.4.2-8
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 1,000 kB
  • sloc: ansic: 8,782; makefile: 307; ruby: 152; perl: 135; yacc: 115; lex: 36; sh: 30
file content (20 lines) | stat: -rw-r--r-- 369 bytes parent folder | download | duplicates (5)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
/*C
  (c) 2005 bl0rg.net

  Based on an implementation by Luigi Rizzo and Numerical Recipes in C
**/

#ifndef MATRIX_H__
#define MATRIX_H__

#include "galois.h"

void matrix_mul(gf *a, gf *b, gf *c, int n, int k, int m);
int  matrix_inv(gf *a, int k);
int  matrix_inv_vandermonde(gf *a, int k);
void matrix_print(gf *a, int m, int n);

/*C
**/

#endif /* MATRIX_H__ */