diff¶
Parameters¶
Parameter label |
I/O type |
Data type |
Mandatory parameter? |
Default value |
---|---|---|---|---|
|
input |
vector |
yes |
|
|
output |
vector/scalar |
N/A |
N/A |
Functionality¶
Module computes difference between adjacent elements of inputVec
and stores them into outputVec
.
If inputVec
is a scalar, ouputVec
is set to None
.
Here are two simple examples:
inputVec = [1,2,3,5,1]
...
outputVec = [1,1,2,-4]
inputVec = [1]
...
outputVec = None