view branches/carfac_cpp/include/CARFAC_common.h @ 705:be2b68ced23d

Make the C++ SAI match the Matlab implementation. - Fix syntax error which caused a linear window to be used instead of the correct sine window. - Correct off-by-one indexing errors to compensate for 1-based indexing in Matlab. - Enable test to verify that the C++ output matches Matlab with high precision.
author ronw@google.com
date Tue, 16 Jul 2013 19:56:16 +0000
parents 9c4c3675c3f8
children
line wrap: on
line source
#ifndef CARFAC_COMMON_TYPEDEFS_H_
#define CARFAC_COMMON_TYPEDEFS_H_

#include <vector>

typedef std::vector<float> FloatArray;
typedef std::vector<FloatArray> FloatMatrix;
const double kPi = 3.1415926;

#endif /* CARFAC_COMMON_TYPEDEFS_H_ */