Abs
Jump to navigation
Jump to search
The abs block converts the input data stream into an absolute value output (i.e. strips sign). This block only supports float, int, and short data types.
Parameters
None
Example Flowgraph
This flowgraph shows a sinusoid being passed through Abs, 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