A
lgorithmique
N
umérique
D
istribuée
Public GIT Repository
projects
/
simgrid.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
change the way we identify opened files. The same process on the same
[simgrid.git]
/
include
/
xbt
/
matrix.h
diff --git
a/include/xbt/matrix.h
b/include/xbt/matrix.h
index
26dc6ae
..
dfbc6bb
100644
(file)
--- a/
include/xbt/matrix.h
+++ b/
include/xbt/matrix.h
@@
-1,8
+1,7
@@
-/* $Id$ */
-
/* xbt_matrix_t management functions */
/* xbt_matrix_t management functions */
-/* Copyright (c) 2006 Martin Quinson. All rights reserved. */
+/* Copyright (c) 2006-2007, 2009-2010, 2013-2014. The SimGrid Team.
+ * All rights reserved. */
/* This program is free software; you can redistribute it and/or modify it
* under the terms of the license (GNU LGPL) which comes with this package. */
/* This program is free software; you can redistribute it and/or modify it
* under the terms of the license (GNU LGPL) which comes with this package. */
@@
-15,13
+14,13
@@
SG_BEGIN_DECL()
SG_BEGIN_DECL()
-
typedef struct {
-
unsigned int lines, rows;
-
unsigned long elmsize;
+typedef struct {
+ unsigned int lines, rows;
+ unsigned long elmsize;
-
char *data;
-
void_f_pvoid_t free_f;
-
} s_xbt_matrix_t, *xbt_matrix_t;
+ char *data;
+ void_f_pvoid_t free_f;
+} s_xbt_matrix_t, *xbt_matrix_t;
/** @brief Retrieve the address of a cell (not its content)
/** @brief Retrieve the address of a cell (not its content)
@@
-44,7
+43,8
@@
XBT_PUBLIC(xbt_matrix_t) xbt_matrix_new_sub(xbt_matrix_t from,
XBT_PUBLIC(void) xbt_matrix_free(xbt_matrix_t matrix);
XBT_PUBLIC(void) xbt_matrix_free_voidp(void *d);
XBT_PUBLIC(void) xbt_matrix_free(xbt_matrix_t matrix);
XBT_PUBLIC(void) xbt_matrix_free_voidp(void *d);
-XBT_PUBLIC(void) xbt_matrix_copy_values(xbt_matrix_t dest, xbt_matrix_t src,
+XBT_PUBLIC(void) xbt_matrix_copy_values(xbt_matrix_t dest,
+ xbt_matrix_t src,
unsigned int lsize,
unsigned int rsize,
unsigned int lpos_dst,
unsigned int lsize,
unsigned int rsize,
unsigned int lpos_dst,
@@
-68,4
+68,4
@@
XBT_PUBLIC(xbt_matrix_t) xbt_matrix_double_new_mult(xbt_matrix_t A,
XBT_PUBLIC(void) xbt_matrix_double_addmult(xbt_matrix_t A, xbt_matrix_t B,
/*OUT*/ xbt_matrix_t C);
SG_END_DECL()
XBT_PUBLIC(void) xbt_matrix_double_addmult(xbt_matrix_t A, xbt_matrix_t B,
/*OUT*/ xbt_matrix_t C);
SG_END_DECL()
-#endif /* XBT_MATRIX_H */
+#endif
/* XBT_MATRIX_H */