Overview
Matrix multiplication of two input pins
Discussion
The matrix multiplication module implements simple two dimensional multiplication of two matrices. Both real and complex data types are supported. Complex input matrices produces complex output matrix.
...
Module bypass behavior is same as active. i.e. module process function is called when the module status is bypassed.
Type Definition
Code Block |
---|
typedef struct _ModuleMatrixMultiplication { ModuleInstanceDescriptor instance; // Common Audio Weaver module instance structure INT32 matrixMultOp; // Matrix multiplication operation. Supported are A*B, (A^T)*B, A*(B^T) and (A^T)*(B^T) void * hardware_specific_struct_pointer; // This may point to a struct that varies based on the target platform } ModuleMatrixMultiplicationClass; |
Variables
Properties
Name | Type | Usage | isHidden | Default value | Range | Units |
matrixMultOp | int | const | 1 | 2 | Unrestricted | |
hardware_specific_struct_pointer | void * | state | 1 | Unrestricted |
Pins
Input Pins
Name: in1(A)
Description: Input matrix A
...
Complex support: Real and Complex
Output Pins
Name: out
Description: Output matrix
Data type: float
Scratch Pins
Channel count: 1
Block size: 34
Sample rate: 48000
MATLAB Usage
File Name: matrix_multiplication_module.m
...