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

From Neos Wiki
Jump to navigation Jump to search
m
 
(4 intermediate revisions by one other user not shown)
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 10: Line 10:
  
 
<!--T:2-->
 
<!--T:2-->
The '''--''' node subtracts 1 from the value of input A.
+
The '''-1''' node subtracts 1 from the value of input A.
  
 
== 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}}

Latest revision as of 03:12, 20 February 2022

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

The -1 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