Sequence StaticAddF64

std/arithmetic/scalar/f64::StaticAddF64


Parameters

↳ var value: f64 = 0

Inputs

value: Stream<f64>

Outputs

↦ value: Stream<f64>


Add a static value to f64.

Every number passed through the stream get value added.

use std/arithmetic/scalar/f64::StaticAddF64

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

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