전자부품 데이터시트 검색엔진
  Korean  ▼
ALLDATASHEET.CO.KR

X  

PM0014 데이터시트(PDF) 31 Page - STMicroelectronics

부품명 PM0014
상세설명  General-purpose DSP library
PDF  46 Pages
Scroll/Zoom Zoom In 100%  Zoom Out
제조업체  STMICROELECTRONICS [STMicroelectronics]
홈페이지  http://www.st.com
Logo STMICROELECTRONICS - STMicroelectronics

PM0014 데이터시트(HTML) 31 Page - STMicroelectronics

Back Button PM0014 Datasheet HTML 27Page - STMicroelectronics PM0014 Datasheet HTML 28Page - STMicroelectronics PM0014 Datasheet HTML 29Page - STMicroelectronics PM0014 Datasheet HTML 30Page - STMicroelectronics PM0014 Datasheet HTML 31Page - STMicroelectronics PM0014 Datasheet HTML 32Page - STMicroelectronics PM0014 Datasheet HTML 33Page - STMicroelectronics PM0014 Datasheet HTML 34Page - STMicroelectronics PM0014 Datasheet HTML 35Page - STMicroelectronics Next Button
Zoom Inzoom in Zoom Outzoom out
 31 / 46 page
background image
PM0014
Arithmetic library functions
31/46
5.6
Matrix multiply
5.6.1
mMul_q15_q15_q15
void mMul_q15_q15_q15 (short Mat1[][], int row1, int column1,
short Mat2[][], int column2, short Output[][]).
Description:
Real 16-bit fractional matrix multiply. The result matrix is on 1.15
format.
Argument:
Mat1
Pointer to matrix 1.
row1
Number of rows in matrix 1.
column1
Number of columns in matrix 1.
Mat2
Pointer to matrix 2.
column2
Number of columns in matrix 2.
Output
Pointer to result matrix
Algorithm:
Output (i, j) =
Mat1(1, k) x Mat2(k, j)
Note:
Matrix 1 and Matrix 2 should be stored in the DPRAM.
The output matrix saturates to 1 or -1 if the result is greater than 1
or respectively lower than -1.
Assembly source
code:
mMul_q15_q15_q15.asm
Code size and cycles: Size: 122 bytes
Instruction cycles: 40 + row1 * (6 + column2 * (8 + column1))
Test:
To test this function, two test cases are provided. Each test case
has two input vector files that contain the matrix to multiply and one
output vector file that contains the output matrix. For instance,
Mat1_4_3.in and Mat2_3_2.in contains respectively a Matrix[4][3]
and a Matrix [3][2]. Be aware that it is possible to multiply a
Matrix[4][3] by a Matrix [3][2] and not the inverse. An input file as
well as the output file contains the elements of the matrix sorted as
follows:
Op_row1_col1, Op_row1_col2, Op_row1_col3...
...Op_row2_col1,Op_row2_col2...
k0
=
column1



Html Pages

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46


데이터시트 다운로드

Go To PDF Page


링크 URL



ALLDATASHEET 가 귀하에 도움이 되셨나요?  [ DONATE ] 

Alldatasheet는?   |   광고문의   |   운영자에게 연락하기   |   개인정보취급방침   |   링크 투 데이터시트    |   링크교환   |   제조사별 검색
All Rights Reserved©Alldatasheet.com


Mirror Sites
English : Alldatasheet.com  |   English : Alldatasheet.net  |   Chinese : Alldatasheetcn.com  |   German : Alldatasheetde.com  |   Japanese : Alldatasheet.jp
Russian : Alldatasheetru.com  |   Korean : Alldatasheet.co.kr  |   Spanish : Alldatasheet.es  |   French : Alldatasheet.fr  |   Italian : Alldatasheetit.com
Portuguese : Alldatasheetpt.com  |   Polish : Alldatasheet.pl  |   Vietnamese : Alldatasheet.vn
Indian : Alldatasheet.in  |   Mexican : Alldatasheet.com.mx  |   British : Alldatasheet.co.uk  |   New Zealand : Alldatasheet.co.nz
Family Site : ic2ic.com  |   icmetro.com