ref: 22d33e22c85d5ff1699897f0ef5b6c251a6a5a13
dir: /tests/cpp/test-cvec.cpp/
#include <iostream>
#include <aubiocpp.h>
using namespace std;
using namespace aubio;
int main(){
/* allocate some memory */
uint_t win_s = 1024; /* window size */
uint_t channels = 1; /* number of channel */
cvec c = cvec(win_s, channels); /* input buffer */
cout << c.norm[0][0] << endl;
c.norm[0][0] = 2.;
cout << c.norm[0][0] << endl;
cout << c.phas[0][0] << endl;
c.phas[0][0] = 2.;
cout << c.phas[0][0] << endl;
return 0;
}