45 #include "EST_String.h" 46 #include "EST_types.h" 47 #include "EST_FileType.h" 48 #include "EST_Option.h" 49 #include "EST_SMatrix.h" 50 #include "EST_cutils.h" 51 #include "EST_Token.h" 64 int EST_SMatrix::rateconv(
int in_samp_freq,
int out_samp_freq)
66 short *in_buf =
new short[
num_rows()];
78 if (::rateconv(in_buf,
80 in_samp_freq, out_samp_freq) == 0)
92 resize(max_len, EST_CURRENT, 0);
98 delete [] results[c1];
int num_rows() const
return number of rows
void copy_column(int c, short *buf, int offset=0, int num=-1) const
int num_columns() const
return number of columns
void fill(const short &v)
fill matrix with value v
EST_SMatrix()
default constructor
void resize(int rows, int cols, int set=1)
resize matrix
void set_column(int n, const short *buf, int offset=0, int num=-1)