DSPF_sp_mat_submat_copy
[Matrix]

Collaboration diagram for DSPF_sp_mat_submat_copy:


Detailed Description

void DSPF_sp_mat_submat_copy (float *x, int rows, int cols, int st, int n, float *restrict y, int dir)


Function Documentation

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.

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_sp_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.
Rows, cols, st and n are assumed to be even.
x and y are aligned on double-word boundaries.
Implementation Notes:
Interruptibility : The code is interruptible.
Endian support : supports both Little and Big endian modes.


Copyright 2014, Texas Instruments Incorporated