Important changes to repositories hosted on mbed.com
Mbed hosted mercurial repositories are deprecated and are due to be permanently deleted in July 2026.
To keep a copy of this software download the repository Zip archive or clone locally using Mercurial.
It is also possible to export all your personal repositories from the account settings page.
arm_mat_init_q31.c
00001 /* ---------------------------------------------------------------------- 00002 * Project: CMSIS DSP Library 00003 * Title: arm_mat_init_q31.c 00004 * Description: Q31 matrix initialization 00005 * 00006 * $Date: 27. January 2017 00007 * $Revision: V.1.5.1 00008 * 00009 * Target Processor: Cortex-M cores 00010 * -------------------------------------------------------------------- */ 00011 /* 00012 * Copyright (C) 2010-2017 ARM Limited or its affiliates. All rights reserved. 00013 * 00014 * SPDX-License-Identifier: Apache-2.0 00015 * 00016 * Licensed under the Apache License, Version 2.0 (the License); you may 00017 * not use this file except in compliance with the License. 00018 * You may obtain a copy of the License at 00019 * 00020 * www.apache.org/licenses/LICENSE-2.0 00021 * 00022 * Unless required by applicable law or agreed to in writing, software 00023 * distributed under the License is distributed on an AS IS BASIS, WITHOUT 00024 * WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 00025 * See the License for the specific language governing permissions and 00026 * limitations under the License. 00027 */ 00028 00029 #include "arm_math.h" 00030 00031 /** 00032 * @ingroup groupMatrix 00033 */ 00034 00035 /** 00036 * @defgroup MatrixInit Matrix Initialization 00037 * 00038 */ 00039 00040 /** 00041 * @addtogroup MatrixInit 00042 * @{ 00043 */ 00044 00045 /** 00046 * @brief Q31 matrix initialization. 00047 * @param[in,out] *S points to an instance of the floating-point matrix structure. 00048 * @param[in] nRows number of rows in the matrix. 00049 * @param[in] nColumns number of columns in the matrix. 00050 * @param[in] *pData points to the matrix data array. 00051 * @return none 00052 */ 00053 00054 void arm_mat_init_q31( 00055 arm_matrix_instance_q31 * S, 00056 uint16_t nRows, 00057 uint16_t nColumns, 00058 q31_t * pData) 00059 { 00060 /* Assign Number of Rows */ 00061 S->numRows = nRows; 00062 00063 /* Assign Number of Columns */ 00064 S->numCols = nColumns; 00065 00066 /* Assign Data pointer */ 00067 S->pData = pData; 00068 } 00069 00070 /** 00071 * @} end of MatrixInit group 00072 */ 00073
Generated on Tue Jul 12 2022 16:47:27 by
1.7.2