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

📄 ft_pow_0.cc

📁 这是处理语音信号的程序
💻 CC
字号:
// file: $PDSP/class/fourier_transform/v3.0/ft_pow_0.cc// // isip include files//#include "fourier_transform.h"#include "fourier_transform_constants.h" // method: is_power_cc//// arguments://  int_4 exponent_a: (output) the required exponent//  int_4 base_a: (input) base provided by the user  //  // return: logical_1 value indicating status//// this method computes exponent_a = log (base_a) of order_d;// it returns false if order of the fourier transform requested for is// not a power of base_a.//logical_1 Fourier_transform::is_power_cc(int_4& exponent_a,					 int_4 base_a) {    // define local variables  //  int_4	i = 1;  exponent_a = 0;    while (i < N_d){    i = (int_4)(base_a*i);    exponent_a = (int_4)(exponent_a + 1);  }  // if not power of two return false  //  if (i != N_d){    return ISIP_FALSE;  }    // exit gracefully  //  return ISIP_TRUE;  }

⌨️ 快捷键说明

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