Overview
Computes the square root using Math approximations.
Discussion
Computes the square root using Math approximations.
Type Definition
typedef struct _ModuleSqrtFract32 { ModuleInstanceDescriptor instance; // Common Audio Weaver module instance structure } ModuleSqrtFract32Class;
Pins
Input Pins
Name: in
Description: Input signal
Data type: fract32
Channel range: Unrestricted
Block size range: Unrestricted
Sample rate range: Unrestricted
Complex support: Real
Output Pins
Name: out
Description: Output signal
Data type: fract32
MATLAB Usage
File Name: sqrt_fract32_module.m
M=sqrt_fract32_module(NAME, BLOCKSIZE) Creates an Audio Weaver module that computes the square root of fractional input using the sqrt math approximation. NAME - name of the module. BLOCKSIZE - size of each block to process, optional (default=32)