Cosine - 2022.2 English

Vitis Model Composer User Guide (UG1483)

Document ID
Release Date
2022.2 English

Computes cosine value for the input.


Math Functions / Math Operations


The Cosine block returns the output of the function cos(x) for each element in array x.

Data Type Support

Data type support is:

  • Dimension: Input can be scalar, vector, or matrix.
  • Data Types: Input supports signal of floating-point data types (double, single, and half), and signed fixed point type. It does not support integer, Boolean, and unsigned fixed point data types.
  • Complex Numbers: Complex numbers are not supported.

Output has the same dimension and data type as the input. However, if the data type of the input is a fixed point type, the data type of the output is fixed point type with integer width fixed as 2.


The Cosine block has no parameters to set.