DSPLIB Function Tables
Table 3-6. Math
Functions
float DSPF_sp_dotp_sqr (float G, float *x, float *y, float *r,
int nx)
float DSPF_sp_dotprod (float*x, float*y, int nx)
void DSPF_sp_dotp_cplx (float *x, float *y, int n, float *re,
float *im)
float DSPF_sp_maxval (float *x, int nx)
int DSPF_sp_maxidx (float *x, int nx)
float DSPF_sp_minval (float *x, int nx)
void DSPF_sp_vecrecip (float *x, float *r, int n)
float DSPF_sp_vecsum_sq (float *x, int n)
void DSPF_sp_w_vec (float *x, float *y, float m, float *r, int
nr)
void DSPF_sp_vecmul (float *x, float *y, float *r, int n)
Table 3-7. Matrix
Functions
void DSPF_sp_mat_mul (float *x, int r1, int c1, float *y, int
c2, float *r)
void DSPF_sp_mat_trans (float *x, int rows, int cols,
float *r)
void DSPF_sp_mat_mul_cplx (float *x, int r1, int c1, float
*y, int c2, float *r)
3-6
Description
Vector dot product and square
Vector dot product
Complex vector dot product
Maximum value of a vector
Index of the maximum element of
a vector
Minimum value of a vector
Vector reciprocal
Sum of squares
Weighted vector sum
Vector multiplication
Description
Matrix multiplication
Matrix transpose
Complex matrix multiplication
Page
4-52
4-53
4-54
4-56
4-57
4-58
4-59
4-60
4-61
4-62
Page
4-64
4-65
4-66
Need help?
Do you have a question about the TMS320C67 DSP Series and is the answer not in the manual?
Questions and answers