Difference between revisions of "-1 (LogiX node)"

From Neos Wiki
Jump to navigation Jump to search
m (Zyzyl moved page -- (LogiX node) (Operators) to -1 (LogiX node): Node name changed in build 2021.1.24.1266)
(Update to be consistent with build 2021.1.24.1266)
Line 3: Line 3:
 
<!--T:1-->
 
<!--T:1-->
 
{{Infobox Logix Node
 
{{Infobox Logix Node
|Name=--
+
|Name=-1
|Image =[[File: Dec_FloatNode.png | noframe | 256px | '--' LogiX node ]]
+
|Image =[[File: Dec_FloatNode.png | noframe | 128px | '-1' LogiX node ]]
 
|Input0Type=Float|Input0Name=A
 
|Input0Type=Float|Input0Name=A
 
|Output0Type=Float|Output0Name=*
 
|Output0Type=Float|Output0Name=*
Line 13: Line 13:
  
 
== Usage == <!--T:3-->
 
== Usage == <!--T:3-->
Note that this node works differently to the identically named [[-- (LogiX node) (Actions)]] which decrements a referenced value only when impulses are received. By default this node accepts the float datatype, however it can cast to accept other numeric datatypes if an appropriate one is connected.
+
By default this node accepts the float datatype, however it can cast to accept other numeric datatypes if an appropriate one is connected.
  
 
== Examples == <!--T:4-->
 
== Examples == <!--T:4-->
Line 19: Line 19:
 
== Node Menu == <!--T:5-->
 
== Node Menu == <!--T:5-->
 
</translate>
 
</translate>
[[Category:LogiX{{#translation:}}|--]]
+
[[Category:LogiX{{#translation:}}|-1]]
[[Category:LogiX: Operators{{#translation:}}|--]]
+
[[Category:LogiX: Operators{{#translation:}}|-1]]
 
{{:NodeMenu-Operators{{#translation:}}}}
 
{{:NodeMenu-Operators{{#translation:}}}}

Revision as of 22:01, 27 January 2021

Other languages:
English • ‎日本語
-1
'-1' LogiX node
Inputs
  Float A
Outputs
  Float *

The -- node subtracts 1 from the value of input A.

Usage

By default this node accepts the float datatype, however it can cast to accept other numeric datatypes if an appropriate one is connected.

Examples

Node Menu

Operators
Back Bool Vectors Nullable Parsing - ! !=
% & ?: ?? ^ | |V|
|V|² + +/- +1 < << ==
> >> × ×dT ÷ ÷dT
° · 0 1 -1 1/x
1-x A^-1 Cross Determinant Distance Filter Invalid Get Type
IsInfinity IsNaN IsNull Mask Matrix Element -n NAND
NOR Normalized NotNull Pack Columns Pack rgba Pack Rows Pack xy
Pack xyz Pack xyzw Project Reflect ROL ROR To String
Transpose Unpack Columns Unpack Rows Unpack xy Unpack xyz Unpack xyzw
XNOR