Functions
DSPF_sp_mat_trans
Collaboration diagram for DSPF_sp_mat_trans:

Functions

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

Detailed Description

Function Documentation

◆ DSPF_sp_mat_trans()

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[].

 @param x[r1*c1]  Input matrix containing r1*c1 floating-point numbers
 @param rows      Number of rows in matrix x. Also number of columns in matrix y.
 @param cols      Number of columns in matrix x. Also number of rows in matrix y.
 @param 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 2022, Texas Instruments Incorporated