Changeset 8e5c051 for src/mathutils.h


Ignore:
Timestamp:
Dec 4, 2009, 1:41:59 AM (14 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:
fc61225
Parents:
d207300
Message:

src/mathutils.{c,h}: switch to mono

File:
1 edited

Legend:

Unmodified
Added
Removed
  • src/mathutils.h

    rd207300 r8e5c051  
    4141*/
    4242smpl_t fvec_mean (fvec_t * s);
    43 
    44 /** compute the mean of a vector channel
    45 
    46   \param s vector to compute mean from
    47   \param i channel to compute mean from
    48 
    49   \return the mean of v
    50 
    51 */
    52 smpl_t fvec_mean_channel (fvec_t * s, uint_t i);
    5343
    5444/** find the max of a vector
     
    205195*/
    206196smpl_t fvec_moving_thres (fvec_t * v, fvec_t * tmp, uint_t post, uint_t pre,
    207     uint_t pos, uint_t channel);
     197    uint_t pos);
    208198
    209199/** apply adaptive threshold to a vector
     
    218208
    219209*/
    220 void fvec_adapt_thres (fvec_t * v, fvec_t * tmp, uint_t post, uint_t pre,
    221     uint_t channel);
     210void fvec_adapt_thres (fvec_t * v, fvec_t * tmp, uint_t post, uint_t pre);
    222211
    223212/** returns the median of a vector
     
    232221
    233222  \param v vector to get median from
    234   \param channel channel to get median from
    235223
    236224  \return the median of v
    237225 
    238226*/
    239 smpl_t fvec_median_channel (fvec_t * v, uint_t channel);
     227smpl_t fvec_median (fvec_t * v);
    240228
    241229/** finds exact peak index by quadratic interpolation*/
    242 smpl_t fvec_quadint (fvec_t * x, uint_t pos, uint_t channel);
     230smpl_t fvec_quadint (fvec_t * x, uint_t pos);
    243231
    244232/** Quadratic interpolation using Lagrange polynomial.
Note: See TracChangeset for help on using the changeset viewer.