Changeset 32f5a01


Ignore:
Timestamp:
Sep 12, 2009, 12:00:54 AM (15 years ago)
Author:
Paul Brossier <piem@piem.org>
Branches:
feature/autosink, feature/cnn, feature/cnn_org, feature/constantq, feature/crepe, feature/crepe_org, feature/pitchshift, feature/pydocstrings, feature/timestretch, fix/ffmpeg5, master, pitchshift, sampler, timestretch, yinfft+
Children:
68a3fc9
Parents:
54f2a70
Message:

src/fvec.{c,h}: add simple fvec_print function

Location:
src
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • src/fvec.c

    r54f2a70 r32f5a01  
    6262}
    6363
     64void fvec_print(fvec_t *s) {
     65  uint_t i,j;
     66  for (i=0; i< s->channels; i++) {
     67    for (j=0; j< s->length; j++) {
     68      AUBIO_MSG("%f ", s->data[i][j]);
     69    }
     70    AUBIO_MSG("\n");
     71  }
     72}
  • src/fvec.h

    r54f2a70 r32f5a01  
    114114smpl_t ** fvec_get_data(fvec_t *s);
    115115
     116/** print out fvec data
     117
     118  \param s vector to print out
     119
     120*/
     121void fvec_print(fvec_t *s);
     122
    116123#ifdef __cplusplus
    117124}
Note: See TracChangeset for help on using the changeset viewer.