DSPF_dp_mat_submat_copy
[Matrix]

Collaboration diagram for DSPF_dp_mat_submat_copy:


Detailed Description

void DSPF_dp_mat_submat_copy (double *restrict x, int rows, int cols, int st, int n, double *restrict y, int dir)


Function Documentation

void DSPF_dp_mat_submat_copy ( double *restrict  x,
int  rows,
int  cols,
int  st,
int  n,
double *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 double-precision floating values.

Parameters:
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.
Algorithm:
DSPF_dp_mat_submat_copy_cn.c is the natural C equivalent of the optimized intrinsic C code withoutrestrictions. Note that the intrinsic C code is optimized and restrictions may apply.
Assumptions:
The arrays x and y are stored in distinct arrays. In-place processing is not allowed.
Implementation Notes:
Interruptibility : The code is interruptible.
Endian support : supports both Little and Big endian modes.


Copyright 2014, Texas Instruments Incorporated