Sequence StaticAddF32

std/arithmetic/scalar/f32::StaticAddF32


Parameters

↳ var value: f32 = 0

Inputs

value: Stream<f32>

Outputs

↦ value: Stream<f32>


Add a static value to f32.

Every number passed through the stream get value added.

use std/arithmetic/scalar/f32::StaticAddF32

sequence Foo()
  input  in:  Stream<f32>
  output out: Stream<f32>
{
    StaticAddF32(value=5)

    // in is increased by 5 and send to out
    Self.in -> StaticAddF32.value,value -> Self.out
}