![]() |
![]() |
Collaboration diagram for DSPF_sp_mat_submat_copy:
|
| void | DSPF_sp_mat_submat_copy (float *x, int rows, int cols, int st, int n, float *restrict y, int dir) |
| void DSPF_sp_mat_submat_copy | ( | float * | x, | |
| int | rows, | |||
| int | cols, | |||
| int | st, | |||
| int | n, | |||
| float *restrict | y, | |||
| int | dir | |||
| ) |
If dir = 0, this function copies n rows starting from st row of matrix x to form matrix y; If dir != 0, this function copies n rows of y to matrix x; The values stored in x and y is single-precision floating values.
| x | = Pointer to r1 by c1 input matrix. | |
| rows | = Number of rows in x. | |
| cols | = Number of columns in x. | |
| st | = start index of rows in x to be copied. | |
| n | = Number of rows to be copied. | |
| y | = Pointer to the output matrix. | |
| dir | = data flow direction. |