CmplxMult

Multiplies two complex matrices.

Syntax

DSP style:

ippsq_status ippsq_mat_cmplx_mult_f32 (const ippsq_matrix_instance_f32 *pSrc1, const ippsq_matrix_instance_f32 *pSrc2, ippsq_matrix_instance_f32 *pDst);

ippsq_status ippsq_mat_cmplx_mult_q15 (const ippsq_matrix_instance_q15 *pSrc1, const ippsq_matrix_instance_q15 *pSrc2, ippsq_matrix_instance_q15 *pDst, q15_t *pScratch);

ippsq_status ippsq_mat_cmplx_mult_q31 (const ippsq_matrix_instance_q31 *pSrc1, const ippsq_matrix_instance_q31 *pSrc2, ippsq_matrix_instance_q31 *pDst);

Include Files

dsp.h

Parameters

pSrc1, pSrc2

Pointers to the source complex matrixes.

pDst

Pointer to destination complex matrix.

pScratch

Unused pointer. The value may be set to NULL.

Description

This function multiplies pSrc1 by pSrc2 and stores the result in pDst.

The number of rows in pSrc2 must be equal to the number of columns in pSrc1, and the pDst matrix must have the same number of rows as pSrc1 and columns as pSrc2.

Before using this function, initialize the pSrc1, pSrc2, and pDst matrices as complex using the Init function.

Return Values

IPPSQ_MATH_SUCCESS

Indicates no error.

IPPSQ_MATH_ARGUMENT_ERROR

Indicates an error when any of the specified pointers is NULL.

IPPSQ_MATH_SIZE_MISMATCH

Indicates an error when matrix sizes are not compatible with the operation.

See Also

For more complete information about compiler optimizations, see our Optimization Notice.