Changeset 2f64b0e for src/mathutils.c


Ignore:
Timestamp:
Oct 2, 2009, 1:11:37 AM (10 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:
5c4ec3c
Parents:
1e2c82f
Message:

rename vec_min and vec_min_elem to fvec_min and fvec_max_elem

File:
1 edited

Legend:

Unmodified
Added
Removed
  • src/mathutils.c

    r1e2c82f r2f64b0e  
    111111}
    112112
    113 smpl_t vec_min(fvec_t *s) {
     113smpl_t fvec_min(fvec_t *s) {
    114114  uint_t i,j;
    115115  smpl_t tmp = s->data[0][0];
     
    120120}
    121121
    122 uint_t vec_min_elem(fvec_t *s) {
     122uint_t fvec_min_elem(fvec_t *s) {
    123123  uint_t i,j=0, pos=0.;
    124124  smpl_t tmp = s->data[0][0];
     
    184184    smpl_t mini = 0.;
    185185    uint_t length = mag->length, i=0, j;
    186     mini = vec_min(mag);
     186    mini = fvec_min(mag);
    187187    for (j=0;j<length;j++) {
    188188      mag->data[i][j] -= mini;
Note: See TracChangeset for help on using the changeset viewer.