logo
Free, unlimited AI code reviews that run on commit
git-lrc git-lrc GitHub Install Now We'd appreciate a star git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt

blend - Perform linear interpolation between two values

Author

       Jeff Epler

Functions

blend.N (requires a floating-point thread)

License

       GPL

LinuxCNC Documentation                             2025-08-07                                           BLEND(9)

Name

       blend - Perform linear interpolation between two values

Parameters

blend.N.open bit rw
              If  true, select values outside the range 0.0 to 1.0 give values outside the range in2 to in1.  If
              false, outputs are clamped to the the range in2 to in1

Pins

blend.N.in1 float in
              First input.  If select is equal to 1.0, the output is equal to in1

       blend.N.in2 float in
              Second input.  If select is equal to 0.0, the output is equal to in2

       blend.N.select float in
              Select input.  For values between 0.0 and 1.0, the output changes linearly from in2 to in1

       blend.N.out float out
              Output value.

Synopsis

loadrtblend[count=N|names=name1[,name2...]]

See Also