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

📄 ft_chk_0.cc

📁 这是处理语音信号的程序
💻 CC
字号:
// file: $PDSP/class/fourier_transform/v3.0/ft_chk_0.cc//// isip include files//#include "fourier_transform.h"#include "fourier_transform_constants.h"// method: algorithm_check_cc//// arguments://  none.//// return: a logical_1 value indicating status//logical_1 Fourier_transform::algorithm_check_cc() {  // define the exponent such that 2**m = N_d  //  int_4 m;  if (is_power_cc(m, (int_4)2) == ISIP_FALSE) {    error_handler_cc((char_1*)"algorithm_check_cc",		     (char_1*)"order must be a power of two");    return ISIP_FALSE;  }  // else: if m is not a power of 4 and the radix 4 algorithm has  // been requested (which requires a power of 4), generate an error  //  else if ((is_power_cc(m, (int_4)4) == ISIP_FALSE) &&	   (algorithm_d == FT_RAD4)) {    return ISIP_FALSE;  }      // assure that the order is greater than a threshold for certain algorithms:  // these algorithms are optimized for orders above a certain size.  // these include:  fht, and qft.  //  if ((N_d < FT_THRESH_SIZE) &&      ((algorithm_d == FT_FH) || (algorithm_d == FT_QF))) {    algorithm_d = FT_DEFAULT_ALGO;  }      // exit gracefully  //  return ISIP_TRUE;}

⌨️ 快捷键说明

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