deps/kb_meme/meme-5.0.1/src/momo-algorithm.c
/**
 * Prints a matrix to the terminal. For debugging use.
 */
Prints a matrix to the terminal. For debugging use.
Prints a matrix to the terminal . For debugging use .
void print_matrix_to_terminal(MATRIX_T* matrix, MOMO_OPTIONS_T* options, SUMMARY_T* summary) {
  const char* alph_letters = summary->alph_letters;
  int i;
  int j;
  for (i = 0; i < options->width-1; i++) {
    for (j = 0; j < strlen(alph_letters); j++) {
      printf("%.1f\t", get_matrix_cell_defcheck(i, j, matrix));
    }
    printf("\n");
  }
  printf("\n");
}
void print_matrix_to_terminal ( MATRIX_T * matrix , MOMO_OPTIONS_T * options , SUMMARY_T * summary ) { const char * alph_letters = summary -> alph_letters ; int i ; int j ; for ( i = 0 ; i < options -> width - 1 ; i ++ ) { for ( j = 0 ; j < strlen ( alph_letters ) ; j ++ ) { printf ( " \t " , get_matrix_cell_defcheck ( i , j , matrix ) ) ; } printf ( " \n " ) ; } printf ( " \n " ) ; }
Prints a matrix to the terminal.
Prints a matrix to the terminal .