⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 gaus_09.cc

📁 这是一个从音频信号里提取特征参量的程序
💻 CC
字号:
// file: $isip/class/stat/GaussianModel/gaus_09.cc// version: $Id: gaus_09.cc,v 1.5 2003/01/11 15:51:19 jelinek Exp $//// isip include files//#include "GaussianModel.h"// method: adapt//// arguments://  const Vector<VectorFloat>& transform: (input) transformation matrix//// return: a boolean value indicating status//// this method transform the model using the input transformation matrix//boolean GaussianModel::adapt(const Vector<VectorFloat>& transform_a) {    // get the number of features  //  long num_feat = mean_d.length();  // form the extended mean vector  //  VectorFloat emean(num_feat + 1);  for (long i = num_feat; i > 0; i--) {    emean(i) = mean_d(i - 1);  }  emean(0) = 1;  // compute transformed mean vector  //  VectorFloat out_mean(num_feat);  for (long i = 0; i < num_feat; i++) {    out_mean(i) = transform_a(i).dotProduct(emean);  }  // set the new mean vector  //  setMean(out_mean);  // exit gracefully  //  return true;  }

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -