// file:e: $warren/research/exp_001/filt_set_00.cc // version: // // isip include files // #include "Filter.h" // method: setMaCoef // // arguments: VectorFloat& ma_coef (input) vector of filter coefficients // // return: a boolean value indicating status // boolean Filter::setMaCoef(VectorFloat& ma_coef) { // can immediately return since the Vector assign() method returns type // boolean // return ma_coef_d.assign(ma_coef); } /*int main(int* argc, char* argv[]) { VectorFloat ma_coef(5); Filter testFilt; ma_coef.assign(L"1.0, 2.0, 3.0, 4.0, 5.0"); testFilt.setMaCoef(ma_coef); return 0; } */