DSPF_sp_mat_trans
[Matrix]

Collaboration diagram for DSPF_sp_mat_trans:


Detailed Description

void DSPF_sp_mat_trans (const float *restrict x, const int rows, const int cols, float *restrict y)


Function Documentation

void DSPF_sp_mat_trans ( const float *restrict  x,
const int  rows,
const int  cols,
float *restrict  y 
)

This function transposes the input matrix x[] and writes the result to matrix y[].

Parameters:
x[r1*c1] Input matrix containing r1*c1 floating-point numbers
rows Number of rows in matrix x. Also number of columns in matrix y.
cols Number of columns in matrix x. Also number of rows in matrix y.
y[c1*r1] Output matrix containing c1*r1 floating-point numbers
Algorithm:
DSPF_sp_mat_trans.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 number of rows and columns is multiple of 2 and >=2.
x and y are double-word aligned.
Implementation Notes:
Interruptibility : The code is interruptible.
Endian support : supports both Little and Big endian modes.


Copyright 2014, Texas Instruments Incorporated