mod_cstr_2.cc
来自「这是处理语音信号的程序」· CC 代码 · 共 40 行
CC
40 行
// file: mod_cstr_2.cc//// isip include files//#include "model.h"#include "model_constants.h"// method: constructor//// arguments:// int_4 num_states : (input) number of states for this model model// float_4** trans_prob : (input) transition probability matrix// State** state : (input) array of states//// return: none//// this is an overloaded constructor//Model::Model(int_4 num_states_a, float_4* trans_prob_a, State** state_a) { // set the number fo state // num_states_d = num_states_a; // set the transition probabilities // trans_prob_d = trans_prob_a; // set the states // states_d = new State*[num_states_d]; for (int_4 i = 0; i < num_states_d; i++) { states_d[i] = state_a[i]; } // exit gracefully //}
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?