Microchip PIC32AK3208GC41036 handleiding
Handleiding
Je bekijkt pagina 28 van 76

Matrix Funcons
User Guide
© 2025 Microchip Technology Inc. and its subsidiaries
DS70005605A - 28
fractional* MatrixScale (int numRows, int numCols, fractional* dstM,
fractional* srcM, fractional sclVal);
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
srcM1
Pointer to the source one matrix
sclVal
Value used to scale the matrix elements
Returns
Pointer to the base address of the destination matrix.
Remarks
This function can be computed in place.
Source File
• mscl_aa.s
Function Prole
Device Program Words Cycles
PIC32A
20 44 + ⌈2.5 x numElems⌉
System resource usage
• W0…W5 - used, not restored
• ACCA - used, not restored
• CORCON - saved, used, restored
• REPEATinstruction(s) usage – None
4.4.4. MatrixSubtract
Description
MatrixSubtractsubtracts the value of each element in the source two matrix from its counterpart
in the source one matrix and places the result in the destination matrix.
Prototype
fractional* MatrixAdd (int numRows, int numCols, fractional* dstM,
fractional* srcM1, fractional* srcM2);
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
srcM1
Pointer to the source one matrix
srcM2
Pointer to the source two matrix
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 |