Microchip PIC32AK3208GC41036 handleiding
Handleiding
Je bekijkt pagina 29 van 76

Matrix Funcons
User Guide
© 2025 Microchip Technology Inc. and its subsidiaries
DS70005605A - 29
Returns
Pointer to the base address of the destination matrix.
Remarks
If the absolute value ofsrcM1[r][c]-srcM2[r][c]is larger than the maximum value of the 1.31
fractional data type, this operation results in saturation for the n
th
element.
This function can be computed in place.
This function can beself-applicable.
Source File
• msub_aa.s
Function Prole
Device Program Words Cycles
PIC32A
11 38 + 4*(numRows * numCols)
System resource usage
• W0…W5 - used, not restored
• ACCA - used, not restored
• CORCON - saved, used, restored
• REPEATinstruction(s) usage – None
4.4.5. MatrixTranspose
Description
MatrixTransposetransposes the rows by the columns in the source matrix and places the result
in the destination matrix.
In eect:
dstM[i][j]=srcM[j][i],
0≤i<numRows, 0≤j<numCols.
Prototype
fractional* MatrixTranspose (int numRows, int numCols, fractional* dstM,
fractional* srcM);
Arguments
Parameters Description
numRows
Number of rows in the source matrices
numCols
Number of columns in the source matrices
dstM
Pointer to the destination matrix
srcM
Pointer to the source matrix
Returns
Pointer to the base address of the destination matrix.
Remarks
If the source matrix is square, this function can be computed in place.
Bekijk gratis de handleiding van Microchip PIC32AK3208GC41036, stel vragen en lees de antwoorden op veelvoorkomende problemen, of gebruik onze assistent om sneller informatie in de handleiding te vinden of uitleg te krijgen over specifieke functies.
Productinformatie
Merk | Microchip |
Model | PIC32AK3208GC41036 |
Categorie | Niet gecategoriseerd |
Taal | Nederlands |
Grootte | 11302 MB |