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_q31.c 00009 * 00010 * Description: Q31 matrix initialization. 00011 * Target Processor: Cortex-R4/R5 00012 * 00013 * Version 1.0.0 2011/03/08 00014 * Alpha release. 00015 * 00016 * Version 1.0.1 2011/09/30 00017 * Beta release. 00018 * 00019 * Version 2.0.0 2011/12/15 00020 * Final release. 00021 * 00022 * -------------------------------------------------------------------------- */ 00023 00024 #include "arm_math.h" 00025 00049 void arm_mat_init_q31( 00050 arm_matrix_instance_q31 * S, 00051 uint16_t nRows, 00052 uint16_t nColumns, 00053 q31_t * pData) 00054 { 00055 /* Assign Number of Rows */ 00056 S->numRows = nRows; 00057 00058 /* Assign Number of Columns */ 00059 S->numCols = nColumns; 00060 00061 /* Assign Data pointer */ 00062 S->pData = pData; 00063 } 00064