|
| template<dim N> |
| int8 | abs (int8 x) |
| |
| template<dim N> |
| int16 | abs (int16 x) |
| |
| template<dim N> |
| int32 | abs (int32 x) |
| |
| template<dim N> |
| int64 | abs (int64 x) |
| |
| template<dim N> |
| float32 | abs (float32 x) |
| |
| template<dim N> |
| float64 | abs (float64 x) |
| |
Function for finding the absolute value of the input.
- Note
- Supported types - int8 / int16 / int32 / int / float32 / float64
- Parameters
-
| x | - input of supported type |
- Returns
- returns the absolute value of the input if it's a scalar or a vector where every element of the input vector is replaced with its absolute value
◆ abs() [1/6]
◆ abs() [2/6]
◆ abs() [3/6]
◆ abs() [4/6]
◆ abs() [5/6]
◆ abs() [6/6]