|
AIB2 Components - Compare to Constant (=)
|
|
Category: |
Math
|
|
Description: |
The Compare to Constant (k) (Equal to) component allows any number of inputs to be compared to the custom constant. Set the constant value in the properties dialog box for the component. If all input values are equal (within a precision distance of 0.00000001) of the target constant, the output value is true (1). If all inputs are not equal to the provided constant, then the output is false (0). |
|
|
|
Inputs: 1 |
CompareVal
The primary value to compare the others to. For instance if the comparison is a test for "greater than", and this value is 5.0, the result will be positive if all other inputs are infact greater than 5.0. The sensitivity is set at a default 0.0000001.
|
|
|
|
|
Outputs: 3 |
All Satisfy?
Boolean response given the logic test - 0 if condition not met and 1 if condition is met. The output will display as either YES or NO depending on whether the comparison satisfies the test.
Count Items
An integer count of the number of input items that are compared to the primary input item. For instance, if the primary compare item is 5.0, and there are three items in addition to 5.0 that are tested, then this result will be "3"
Items Satisfied
An integer count of the number of input items that are compared to the primary input item that satisfy the comparison test. For instance, if the primary compare item is 5.0, and there are three items in addition to 5.0 that are tested, and two of those 3 items are greater than 5.0, then this result will be "2"
|
|
|
|
|
Components in Same Category: |
Delay Compare to Input (=) Compare to Input (>) Compare to Input (<) Compare to Constant (>) Compare to Constant (<) Add Input Values Subtract Input Values Multiply Input Values Divide Input Values Running Stats Delta Absolute Value Raise to Power Square Root Running Total Moving Average Vector 2D Magnitude Vector 3D Magnitude Vector 2D Normalize Vector 3D Normalize Vector 2D [+ - * ^] Vector 3D [+ - * ^] Sine Cosine Tangent Get Min Get Max Reverse Sign In Range
|
|
Sample Files with this Component: |
yahtzee
yahtzee yahtzee yahtzee yahtzee yahtzee yahtzee yahtzee yahtzee yahtzee yahtzee yahtzee yahtzee yahtzee yahtzee yahtzee yahtzee yahtzee yahtzee yahtzee yahtzee yahtzee yahtzee yahtzee yahtzee yahtzee yahtzee yahtzee yahtzee yahtzee yahtzee yahtzee yahtzee yahtzee yahtzee yahtzee yahtzee yahtzee yahtzee yahtzee yahtzee yahtzee yahtzee yahtzee yahtzee yahtzee yahtzee yahtzee yahtzee yahtzee yahtzee yahtzee yahtzee yahtzee yahtzee yahtzee yahtzee yahtzee yahtzee yahtzee yahtzee yahtzee yahtzee yahtzee yahtzee yahtzee yahtzee yahtzee yahtzee yahtzee yahtzee yahtzee yahtzee yahtzee yahtzee yahtzee yahtzee yahtzee yahtzee yahtzee yahtzee yahtzee yahtzee yahtzee yahtzee yahtzee yahtzee yahtzee yahtzee yahtzee yahtzee yahtzee yahtzee yahtzee yahtzee yahtzee yahtzee yahtzee yahtzee yahtzee yahtzee yahtzee yahtzee yahtzee yahtzee yahtzee yahtzee yahtzee yahtzee yahtzee yahtzee yahtzee yahtzee yahtzee yahtzee yahtzee yahtzee yahtzee yahtzee yahtzee yahtzee yahtzee yahtzee yahtzee yahtzee yahtzee yahtzee yahtzee yahtzee yahtzee yahtzee |
|
|
|