00001 /* ---------------------------------------------------------------------- 00002 * Copyright (C) 2011 ARM Limited. All rights reserved. 00003 * 00004 * $Date: 15. December 2011 00005 * $Revision: V2.0.0 00006 * 00007 * Project: Cortex-R DSP Library 00008 * Title: arm_mat_init_q15.c 00009 * 00010 * Description: Q15 matrix initialization. 00011 * 00012 * Target Processor: Cortex-R4/R5 00013 * 00014 * Version 1.0.0 2011/03/08 00015 * Alpha release. 00016 * 00017 * Version 1.0.1 2011/09/30 00018 * Beta release. 00019 * 00020 * Version 2.0.0 2011/12/15 00021 * Final release. 00022 * 00023 * -------------------------------------------------------------------------- */ 00024 00025 00026 #include "arm_math.h" 00027 00046 void arm_mat_init_q15( 00047 arm_matrix_instance_q15 * S, 00048 uint16_t nRows, 00049 uint16_t nColumns, 00050 q15_t * pData) 00051 { 00052 /* Assign Number of Rows */ 00053 S->numRows = nRows; 00054 00055 /* Assign Number of Columns */ 00056 S->numCols = nColumns; 00057 00058 /* Assign Data pointer */ 00059 S->pData = pData; 00060 } 00061