Changeset 21234ee for src/vecutils.h


Ignore:
Timestamp:
Dec 18, 2013, 8:07:27 AM (11 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:
6465d7f
Parents:
1573b16 (diff), c3c6305 (diff)
Note: this is a merge changeset, the changes displayed below correspond to the merge itself.
Use the (diff) links above to see all the changes relative to each parent.
Message:

Merge branch 'master' of aubio.org:/git/aubio/aubio into develop

File:
1 edited

Legend:

Unmodified
Added
Removed
  • src/vecutils.h

    r1573b16 r21234ee  
    11/*
    2   Copyright (C) 2009 Paul Brossier <piem@aubio.org>
     2  Copyright (C) 2009-2013 Paul Brossier <piem@aubio.org>
    33
    44  This file is part of aubio.
     
    2121/** \file
    2222
    23   Utility functions for ::fvec_t and ::cvec_t objects
     23  Utility functions for ::fvec_t
    2424
    2525 */
    2626
    27 #ifndef _VECUTILS_H
    28 #define _VECUTILS_H
     27#ifndef _AUBIO__VECUTILS_H
     28#define _AUBIO__VECUTILS_H
    2929
    3030#ifdef __cplusplus
     
    110110void fvec_pow (fvec_t *s, smpl_t pow);
    111111
    112 /** compute \f$e^x\f$ of each vector norm elements
    113 
    114   \param s vector to modify
    115 
    116 */
    117 void cvec_exp (cvec_t *s);
    118 
    119 /** compute \f$cos(x)\f$ of each vector norm elements
    120 
    121   \param s vector to modify
    122 
    123 */
    124 void cvec_cos (cvec_t *s);
    125 
    126 /** compute \f$sin(x)\f$ of each vector norm elements
    127 
    128   \param s vector to modify
    129 
    130 */
    131 void cvec_sin (cvec_t *s);
    132 
    133 /** compute the \f$abs(x)\f$ of each vector norm elements
    134 
    135   \param s vector to modify
    136 
    137 */
    138 void cvec_abs (cvec_t *s);
    139 
    140 /** compute the \f$sqrt(x)\f$ of each vector norm elements
    141 
    142   \param s vector to modify
    143 
    144 */
    145 void cvec_sqrt (cvec_t *s);
    146 
    147 /** compute the \f$log10(x)\f$ of each vector norm elements
    148 
    149   \param s vector to modify
    150 
    151 */
    152 void cvec_log10 (cvec_t *s);
    153 
    154 /** compute the \f$log(x)\f$ of each vector norm elements
    155 
    156   \param s vector to modify
    157 
    158 */
    159 void cvec_log (cvec_t *s);
    160 
    161 /** compute the \f$floor(x)\f$ of each vector norm elements
    162 
    163   \param s vector to modify
    164 
    165 */
    166 void cvec_floor (cvec_t *s);
    167 
    168 /** compute the \f$ceil(x)\f$ of each vector norm elements
    169 
    170   \param s vector to modify
    171 
    172 */
    173 void cvec_ceil (cvec_t *s);
    174 
    175 /** compute the \f$round(x)\f$ of each vector norm elements
    176 
    177   \param s vector to modify
    178 
    179 */
    180 void cvec_round (cvec_t *s);
    181 
    182 /** raise each vector norm elements to the power pow
    183 
    184   \param s vector to modify
    185   \param pow power to raise to
    186 
    187 */
    188 void cvec_pow (cvec_t *s, smpl_t pow);
    189 
    190112#ifdef __cplusplus
    191113}
    192114#endif
    193115
    194 #endif /*_VECUTILS_H*/
     116#endif /* _AUBIO__VECUTILS_H */
Note: See TracChangeset for help on using the changeset viewer.