STM32F769IDiscovery
1.00
uDANTE Audio Networking with STM32F7 DISCO board
Main Page
Related Pages
Modules
Namespaces
Data Structures
Files
Examples
File List
Globals
Eclipse_WS2
STM32F769IDiscovery
CMSIS
DSP_Lib
Source
MatrixFunctions
arm_mat_init_q31.c
Go to the documentation of this file.
1
/* ----------------------------------------------------------------------
2
* Copyright (C) 2010-2014 ARM Limited. All rights reserved.
3
*
4
* $Date: 19. March 2015
5
* $Revision: V.1.4.5
6
*
7
* Project: CMSIS DSP Library
8
* Title: arm_mat_init_q31.c
9
*
10
* Description: Q31 matrix initialization.
11
* Target Processor: Cortex-M4/Cortex-M3/Cortex-M0
12
*
13
* Redistribution and use in source and binary forms, with or without
14
* modification, are permitted provided that the following conditions
15
* are met:
16
* - Redistributions of source code must retain the above copyright
17
* notice, this list of conditions and the following disclaimer.
18
* - Redistributions in binary form must reproduce the above copyright
19
* notice, this list of conditions and the following disclaimer in
20
* the documentation and/or other materials provided with the
21
* distribution.
22
* - Neither the name of ARM LIMITED nor the names of its contributors
23
* may be used to endorse or promote products derived from this
24
* software without specific prior written permission.
25
*
26
* THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
27
* "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
28
* LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS
29
* FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE
30
* COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT,
31
* INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING,
32
* BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
33
* LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER
34
* CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
35
* LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN
36
* ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
37
* POSSIBILITY OF SUCH DAMAGE.
38
* -------------------------------------------------------------------------- */
39
40
41
#include "
arm_math.h
"
42
66
void
arm_mat_init_q31
(
67
arm_matrix_instance_q31
* S,
68
uint16_t nRows,
69
uint16_t nColumns,
70
q31_t
* pData)
71
{
72
/* Assign Number of Rows */
73
S->
numRows
= nRows;
74
75
/* Assign Number of Columns */
76
S->
numCols
= nColumns;
77
78
/* Assign Data pointer */
79
S->
pData
= pData;
80
}
81
arm_matrix_instance_q31::numCols
uint16_t numCols
Definition:
arm_math.h:1403
arm_math.h
arm_matrix_instance_q31::pData
q31_t * pData
Definition:
arm_math.h:1404
q31_t
int32_t q31_t
32-bit fractional data type in 1.31 format.
Definition:
arm_math.h:397
arm_matrix_instance_q31::numRows
uint16_t numRows
Definition:
arm_math.h:1402
arm_mat_init_q31
void arm_mat_init_q31(arm_matrix_instance_q31 *S, uint16_t nRows, uint16_t nColumns, q31_t *pData)
Q31 matrix initialization.
Definition:
arm_mat_init_q31.c:66
arm_matrix_instance_q31
Instance structure for the Q31 matrix structure.
Definition:
arm_math.h:1400
Generated by
1.8.11