deps/kb_meme/meme-5.0.1/src/glam2_scan.c
/* print matrix of doubles: for debugging */
print matrix of doubles: for debugging
print matrix of doubles : for debugging
void print_mat(double **mat, int rows, int cols) {
  int i, j;
  for (i = 0; i < rows; ++i)
    for (j = 0; j < cols; ++j)
      printf("%.2g%c", mat[i][j], j < cols-1 ? '\t' : '\n');
}
void print_mat ( double * * mat , int rows , int cols ) { int i , j ; for ( i = 0 ; i < rows ; ++ i ) for ( j = 0 ; j < cols ; ++ j ) printf ( " " , mat [ i ] [ j ] , j < cols - 1 ? ' \t ' : ' \n ' ) ; }
print matrix of doubles: for debugging
print matrix of doubles : for debugging