Abs - 2022.2 English

Vitis Model Composer User Guide (UG1483)

Document ID
UG1483
Release Date
2023-01-13
Version
2022.2 English

Compute element-wise absolute value of input signal

Library

Math Functions/Math Operations

Description

The Abs block computes element-wise absolute value on the input data.

Data Type Support

Data type support is:

  • Dimension: Input can be scalar, vector, or matrix.
  • Data Types: Input supports signals of integer type, floating point data type (double, single, and half), and signed and unsigned fixed point type.
  • Complex Numbers Support: Yes.

Output has the same dimension and data type as the input. Output of the Abs block is always real.

Parameters

The Abs block has no parameters to set.