view FChTransformUtils.h @ 8:7ec763dc767c perf

Indent
author Chris Cannam
date Tue, 02 Oct 2018 13:15:33 +0100
parents d912b9d53e50
children af59167b3d35
line wrap: on
line source
/*
  copyright (C) 2012 I. Irigaray, M. Rocamora

  This program is free software: you can redistribute it and/or modify
  it under the terms of the GNU General Public License as published by
  the Free Software Foundation, either version 3 of the License, or
  (at your option) any later version.

  This program is distributed in the hope that it will be useful,
  but WITHOUT ANY WARRANTY; without even the implied warranty of
  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
  GNU General Public License for more details.

  You should have received a copy of the GNU General Public License
  along with this program.  If not, see <http://www.gnu.org/licenses/>.
 */

#include <string.h>

void interp1(const double *x1,const double *y1, size_t N1, const double *x2, double *y2, size_t N2);

void interp1q(const double *y1, const size_t *x2_int, const double *x2_frac, double *y2, size_t N2);

void cumtrapz(const double *x, const double *y, size_t N, double *accum);

void hanning_window(double *p_window, size_t n, bool normalize);