Function

vDSP_zmma(_:_:_:_:_:_:_:_:_:_:_:)

Multiplies two complex matrices, then adds a third complex matrix; out-of-place; single precision.

Declaration

func vDSP_zmma(_ __A: UnsafePointer<DSPSplitComplex>, _ __IA: vDSP_Stride, _ __B: UnsafePointer<DSPSplitComplex>, _ __IB: vDSP_Stride, _ __C: UnsafePointer<DSPSplitComplex>, _ __IC: vDSP_Stride, _ __D: UnsafePointer<DSPSplitComplex>, _ __ID: vDSP_Stride, _ __M: vDSP_Length, _ __N: vDSP_Length, _ __P: vDSP_Length)

Parameters

__A

Single-precision complex M-by-P input matrix.

__IA

Stride for A.

__B

Single-precision complex P-by-N input matrix.

__IB

Stride for B.

__C

Single-precision complex M-by-N input matrix.

__IC

Stride for C.

__D

Single-precision complex M-by-N result matrix.

__ID

Stride for D.

__M

The number of rows in matrices A, C, and D.

__N

The number of columns in matrix B, C, and D.

__P

The number of columns in matrix A and the number of rows in matrix B.

Discussion

This function performs an out-of-place complex multiplication of an M-by-P matrix A by a P-by-N matrix B, adds the product to M-by-N matrix C, and stores the result in M-by-N matrix D; single precision.

This performs the following operation:

mathematical formula

See Also

Matrix Multiplication (Complex Matrices)