Sequence StaticAddI16
std/arithmetic/scalar/i16::StaticAddI16
Parameters
↳ var value: i16 = 0
Inputs
⇥ value: Stream<i16>
Outputs
↦ value: Stream<i16>
Add a static value to i16
.
Every number passed through the stream get value
added.
use std/arithmetic/scalar/i16::StaticAddI16
sequence Foo()
input in: Stream<i16>
output out: Stream<i16>
{
StaticAddI16(value=5)
// in is increased by 5 and send to out
Self.in -> StaticAddI16.value,value -> Self.out
}