Changeset c5c0c98 for src/mathutils.h


Ignore:
Timestamp:
Sep 12, 2009, 12:08:54 AM (11 years ago)
Author:
Paul Brossier <piem@piem.org>
Branches:
feature/autosink, feature/constantq, feature/pitchshift, feature/pydocstrings, feature/timestretch, master, pitchshift, sampler, timestretch, yinfft+
Children:
fbe2cd2
Parents:
68a3fc9
Message:

src/mathutils.c: merge and fix vec_quadint_min and _max into simpler and more exact vec_quadint, use in src/pitch algorithms

File:
1 edited

Legend:

Unmodified
Added
Removed
  • src/mathutils.h

    r68a3fc9 rc5c0c98  
    162162smpl_t vec_median(fvec_t * input);
    163163
    164 /** finds exact maximum position by quadratic interpolation*/
    165 smpl_t vec_quadint(fvec_t * x,uint_t pos);
    166 
    167 /** finds exact minimum position by quadratic interpolation*/
    168 smpl_t vec_quadint_min(fvec_t * x,uint_t pos, uint_t span);
     164/** finds exact peak index by quadratic interpolation*/
     165smpl_t vec_quadint(fvec_t * x, uint_t pos, uint_t span);
    169166
    170167/** Quadratic interpolation using Lagrange polynomial.
Note: See TracChangeset for help on using the changeset viewer.