comparison audioDB.h @ 157:9ec0f27e07b9 powertable

sequence_sqrt() and sequence_average() functions for common patterns (handling L2Norm and Power vectors respectively)
author mas01cr
date Thu, 01 Nov 2007 14:56:22 +0000
parents 8c1c6a5c1cc3
children bb934f91d85c
comparison
equal deleted inserted replaced
156:d241a22593bb 157:9ec0f27e07b9
178 // private methods 178 // private methods
179 void error(const char* a, const char* b = "", const char *sysFunc = 0); 179 void error(const char* a, const char* b = "", const char *sysFunc = 0);
180 void pointQuery(const char* dbName, const char* inFile, adb__queryResponse *adbQueryResponse=0); 180 void pointQuery(const char* dbName, const char* inFile, adb__queryResponse *adbQueryResponse=0);
181 void trackPointQuery(const char* dbName, const char* inFile, adb__queryResponse *adbQueryResponse=0); 181 void trackPointQuery(const char* dbName, const char* inFile, adb__queryResponse *adbQueryResponse=0);
182 void sequence_sum(double *buffer, int length, int seqlen); 182 void sequence_sum(double *buffer, int length, int seqlen);
183 void sequence_sqrt(double *buffer, int length, int seqlen);
184 void sequence_average(double *buffer, int length, int seqlen);
185
183 void trackSequenceQueryNN(const char* dbName, const char* inFile, adb__queryResponse *adbQueryResponse=0); 186 void trackSequenceQueryNN(const char* dbName, const char* inFile, adb__queryResponse *adbQueryResponse=0);
184 void trackSequenceQueryRad(const char* dbName, const char* inFile, adb__queryResponse *adbQueryResponse=0); 187 void trackSequenceQueryRad(const char* dbName, const char* inFile, adb__queryResponse *adbQueryResponse=0);
185 188
186 void initDBHeader(const char *dbName, bool forWrite); 189 void initDBHeader(const char *dbName, bool forWrite);
187 void initTables(const char* dbName, bool forWrite, const char* inFile); 190 void initTables(const char* dbName, bool forWrite, const char* inFile);