Difference between revisions of "Subtract"

From GNU Radio
Jump to: navigation, search
(add Example Flowgraph)
 
Line 7: Line 7:
 
== Example Flowgraph ==
 
== Example Flowgraph ==
  
Insert description of flowgraph here, then show a screenshot of the flowgraph and the output if there is an interesting GUI. Currently we have no standard method of uploading the actual flowgraph to the wiki or git repo, unfortunately. The plan is to have an example flowgraph showing how the block might be used, for every block, and the flowgraphs will live in the git repo.
+
This flowgraph illustrates the use of a Subtract Block as a logic inverter for a float value:<br>
 +
 
 +
1.0 - 0.0 = 1.0<br>
 +
1.0 - 1.0 = 0.0
 +
 
 +
[[File:Subtract_demo.png|800px]]
  
 
== Source Files ==
 
== Source Files ==

Latest revision as of 16:30, 23 October 2019

Subtract across all input streams. output = input_0 - input_1 - ...

Parameters[edit]

None

Example Flowgraph[edit]

This flowgraph illustrates the use of a Subtract Block as a logic inverter for a float value:

1.0 - 0.0 = 1.0
1.0 - 1.0 = 0.0

Subtract demo.png

Source Files[edit]

C++ files
TODO
Header files
TODO
Public header files
TODO
Block definition
TODO