Microchip PIC32AK6416GC41036 handleiding

76 pagina's
PDF beschikbaar

Handleiding

Je bekijkt pagina 27 van 76
Matrix Funcons
User Guide
© 2025 Microchip Technology Inc. and its subsidiaries
DS70005605A - 27
0 ≤i<numRows1
0 ≤j<numCols2
0 ≤ k<numCols1Rows2
Prototype
fractional* MatrixMultiply (int numRows1, int numCols1Rows2, int numCols2,
fractional* dstM, fractional* srcM1, fractional* srcM2);
Arguments
Parameters Description
numRows1
Number of rows in the source one matrix.
numCols1Rows2
Number of columns in the source one matrix which is same as number of rows in the source
two matrix.
numCols2
Number of columns in the source two matrix.
dstM
Pointer to the destination matrix
srcM1
Pointer to the source one matrix
srcM2
Pointer to the source two matrix
Returns
Pointer to the base address of the destination matrix.
Remarks
If the absolute value ofresult in dstM[r][c]is larger than the maximum value of the 1.31 fractional
data type, this operation results in saturation for the (r,c)
th
element.
If the source one matrix is squared, then this function can be computed in place and can be
self-applicable.
Source File
mmul_aa.s
Function Prole
Device Program Words Cycles
PIC32A
27 45+numRows1*(6+numCols2*(9+4*(numCols1Rows2 - 1)))
System resource usage
W0…W7 - used, not restored
W8…W12 - saved, used, restored
ACCA - used, not restored
CORCON - saved, used, restored
REPEATinstruction(s) usage – None
4.4.3. MatrixScale
Description
MatrixScalescales (multiplies) the values of all elements in the source matrix by a scale value and
places the result in the destination matrix.
Prototype

Bekijk gratis de handleiding van Microchip PIC32AK6416GC41036, 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

MerkMicrochip
ModelPIC32AK6416GC41036
CategorieNiet gecategoriseerd
TaalNederlands
Grootte11302 MB