Abs: Difference between revisions
Jump to navigation
Jump to search
No edit summary |
|||
Line 10: | Line 10: | ||
== Example Flowgraph == | == Example Flowgraph == | ||
This flowgraph shows a sinusoid being passed through Abs, producing full-wave rectification. | This flowgraph shows a sinusoid being passed through the Abs block, producing full-wave rectification. | ||
[[File:abs-ex2.png|500px]] | [[File:abs-ex2.png|500px]] |
Revision as of 09:11, 25 August 2022
The abs block converts the input data stream into its absolute value i.e. the negative input values become positive output values and the positive values remain the same at both the input and the output. This block only supports float, int, and short data types.
Parameters
None
Example Flowgraph
This flowgraph shows a sinusoid being passed through the Abs block, producing full-wave rectification.
Source Files
- C++ files
- abs_blk_impl.cc
- Header files
- abs_blk_impl.h
- Public header files
- abs_blk.h
- Block definition
- blocks_abs_xx.block.yml