sum2(9)

sum29

Sum of two inputs (each with a gain) and an offset

Usage

loadrt sum2 [count=N|names=name1[,name2...]]

Functions

sum2.N (requires a floating-point thread)

Pins

sum2.N.in0 float in
sum2.N.in1 float in
sum2.N.out float out

out = in0 * gain0 + in1 * gain1 + offset

Parameters

sum2.N.gain0 float rw (default: 1.0)
sum2.N.gain1 float rw (default: 1.0)
sum2.N.offset float rw

Releases

2 releases since Debian 12 (Bookworm); the text changed 1 time.

  1. 12
  2. 13

Author

Jeff Epler

License

GPL

From linuxcnc-uspace 1:2.9.4-2+deb13u1 in Debian 13 (Trixie). Parsed by carta from the page's man source.