Function

vDSP_zmms(_:_:_:_:_:_:_:_:_:_:_:)

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

Declaration

func vDSP_zmms(_ __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, subtracts M-by-N matrix C from the product, and stores the result in M-by-N matrix D.

This performs the following operation:

mathematical formula

See Also

Matrix Multiplication (Complex Matrices)

Beta Software

This documentation contains preliminary information about an API or technology in development. This information is subject to change, and software implemented according to this documentation should be tested with final operating system software.

Learn more about using Apple's beta software