sort¶
Parameters¶
Parameter label |
I/O type |
Data type |
Mandatory parameter? |
Default value |
---|---|---|---|---|
|
input |
vector |
yes |
N/A |
|
output |
vector |
N/A |
N/A |
|
input |
bool |
N/A |
False |
Functionality¶
Module sorts inputVec
in ascending (default) or descending (for descendng = True) order to outputVec
.
Here’s a simple example:
inputVec = [1,-2,-3,-4]
...
outputVec = [-4, -3, -2, 1]