Matrix Vector Multiplication
- RISCV_DSP_ATTRIBUTE void riscv_mat_vec_mult_f16 (const riscv_matrix_instance_f16 *pSrcMat, const float16_t *pVec, float16_t *pDst)
- RISCV_DSP_ATTRIBUTE void riscv_mat_vec_mult_f32 (const riscv_matrix_instance_f32 *pSrcMat, const float32_t *pVec, float32_t *pDst)
- RISCV_DSP_ATTRIBUTE void riscv_mat_vec_mult_q15 (const riscv_matrix_instance_q15 *pSrcMat, const q15_t *pVec, q15_t *pDst)
- RISCV_DSP_ATTRIBUTE void riscv_mat_vec_mult_q31 (const riscv_matrix_instance_q31 *pSrcMat, const q31_t *pVec, q31_t *pDst)
- RISCV_DSP_ATTRIBUTE void riscv_mat_vec_mult_q7 (const riscv_matrix_instance_q7 *pSrcMat, const q7_t *pVec, q7_t *pDst)
- group MatrixVectMult
Multiplies a matrix and a vector.
Functions
- RISCV_DSP_ATTRIBUTE void riscv_mat_vec_mult_f16 (const riscv_matrix_instance_f16 *pSrcMat, const float16_t *pVec, float16_t *pDst)
Floating-point matrix and vector multiplication.
- Parameters
*pSrcMat – [in] points to the input matrix structure
*pVec – [in] points to input vector
*pDst – [out] points to output vector
- RISCV_DSP_ATTRIBUTE void riscv_mat_vec_mult_f32 (const riscv_matrix_instance_f32 *pSrcMat, const float32_t *pVec, float32_t *pDst)
Floating-point matrix and vector multiplication.
- Parameters
*pSrcMat – [in] points to the input matrix structure
*pVec – [in] points to input vector
*pDst – [out] points to output vector
- RISCV_DSP_ATTRIBUTE void riscv_mat_vec_mult_q15 (const riscv_matrix_instance_q15 *pSrcMat, const q15_t *pVec, q15_t *pDst)
Q15 matrix and vector multiplication.
- Parameters
*pSrcMat – [in] points to the input matrix structure
*pVec – [in] points to input vector
*pDst – [out] points to output vector
- RISCV_DSP_ATTRIBUTE void riscv_mat_vec_mult_q31 (const riscv_matrix_instance_q31 *pSrcMat, const q31_t *pVec, q31_t *pDst)
Q31 matrix and vector multiplication.
- Parameters
*pSrcMat – [in] points to the input matrix structure
*pVec – [in] points to the input vector
*pDst – [out] points to the output vector
- RISCV_DSP_ATTRIBUTE void riscv_mat_vec_mult_q7 (const riscv_matrix_instance_q7 *pSrcMat, const q7_t *pVec, q7_t *pDst)
Q7 matrix and vector multiplication.
- Parameters
*pSrcMat – [in] points to the input matrix structure
*pVec – [in] points to the input vector
*pDst – [out] points to the output vector