projects
/
paraslash.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
rename vector_fmul_add() vector_fmul_reverse_c() and make them static.
[paraslash.git]
/
fec.c
diff --git
a/fec.c
b/fec.c
index f3e68454941e702ff7cb9ca78ca9a3b749998086..d097b77de836248d79142348f254dd4c3ef57817 100644
(file)
--- a/
fec.c
+++ b/
fec.c
@@
-1,5
+1,6
@@
+/** \file fec.c Forward error correction based on Vandermonde matrices. */
+
/*
/*
- * fec.c -- forward error correction based on Vandermonde matrices
* 980624
* (C) 1997-98 Luigi Rizzo (luigi@iet.unipi.it)
*
* 980624
* (C) 1997-98 Luigi Rizzo (luigi@iet.unipi.it)
*
@@
-32,6
+33,8
@@
* OF SUCH DAMAGE.
*/
* OF SUCH DAMAGE.
*/
+#include <regex.h>
+
#include "para.h"
#include "error.h"
#include "portable_io.h"
#include "para.h"
#include "error.h"
#include "portable_io.h"
@@
-214,7
+217,7
@@
static void matmul(unsigned char *a, unsigned char *b, unsigned char *c,
* Compute the inverse of a matrix.
*
* k is the size of the matrix 'src' (Gauss-Jordan, adapted from Numerical
* Compute the inverse of a matrix.
*
* k is the size of the matrix 'src' (Gauss-Jordan, adapted from Numerical
- * Recipes in C). Returns
-1 if 'src' is singular
.
+ * Recipes in C). Returns
negative on errors
.
*/
static int invert_mat(unsigned char *src, int k)
{
*/
static int invert_mat(unsigned char *src, int k)
{