-/** \brief Creates a new matrix of double randomly filled */
-xbt_matrix_t xbt_matrix_double_new_rand(int lines, int rows)
-{
- xbt_matrix_t res = xbt_matrix_new(lines, rows, sizeof(double), NULL);
- int i, j;
-
- for (i = 0; i < lines; i++)
- for (j = 0; j < rows; j++)
- xbt_matrix_get_as(res, i, j, double) = (double) rand();
- return res;
-}
-
-/** \brief Creates a new matrix of double randomly by subsequent numbers */