1 /* ----------------------------------------------------------------------
2 * Copyright (C) 2010 ARM Limited. All rights reserved.
7 * Project: CMSIS DSP Library
8 * Title: arm_mat_init_q15.c
10 * Description: Q15 matrix initialization.
12 * Target Processor: Cortex-M4/Cortex-M3/Cortex-M0
14 * Version 1.0.10 2011/7/15
15 * Big Endian support added and Merged M0 and M3/M4 Source code.
17 * Version 1.0.3 2010/11/29
18 * Re-organized the CMSIS folders and updated documentation.
20 * Version 1.0.2 2010/11/11
21 * Documentation updated.
23 * Version 1.0.1 2010/10/05
24 * Production release and review comments incorporated.
26 * Version 1.0.0 2010/09/20
27 * Production release and review comments incorporated.
29 * Version 0.0.5 2010/04/26
30 * incorporated review comments and updated with latest CMSIS layer
32 * Version 0.0.3 2010/03/10
34 * -------------------------------------------------------------------------- */
40 * @ingroup groupMatrix
44 * @addtogroup MatrixInit
49 * @brief Q15 matrix initialization.
50 * @param[in,out] *S points to an instance of the floating-point matrix structure.
51 * @param[in] nRows number of rows in the matrix.
52 * @param[in] nColumns number of columns in the matrix.
53 * @param[in] *pData points to the matrix data array.
57 void arm_mat_init_q15(
58 arm_matrix_instance_q15 * S,
63 /* Assign Number of Rows */
66 /* Assign Number of Columns */
67 S->numCols = nColumns;
69 /* Assign Data pointer */
74 * @} end of MatrixInit group