|
template<domain D :shared2p , dim N> |
D uint8 | abs (D int8[[N]] x) |
|
template<domain D :shared2p , dim N> |
D uint16 | abs (D int16[[N]] x) |
|
template<domain D :shared2p , dim N> |
D uint32 | abs (D int32[[N]] x) |
|
template<domain D :shared2p , dim N> |
D uint | abs (D int[[N]] x) |
|
Function for finding absolute values.
- Note
- D - shared2p protection domain
-
Supported types - int8 / int16 / int32 / int
- Parameters
-
x | - an array of any dimension |
- Returns
- returns an array of equal shape, size and dimension, where all values are the absolute values of the input array at that position
◆ abs() [1/4]
D uint16 abs |
( |
D int16[[N]] |
x | ) |
|
◆ abs() [2/4]
D uint32 abs |
( |
D int32[[N]] |
x | ) |
|
◆ abs() [3/4]
D uint8 abs |
( |
D int8[[N]] |
x | ) |
|
◆ abs() [4/4]
D uint abs |
( |
D int[[N]] |
x | ) |
|