ProtoFlux:ValueSquare: Difference between revisions

From Resonite Wiki
Stub
 
m YoshBot moved page ProtoFlux:Value Square to ProtoFlux:ValueSquare: Automated: removing spaces from ProtoFlux namespace
 
(2 intermediate revisions by one other user not shown)
Line 4: Line 4:
|Inputs=
|Inputs=
[
[
{"Type":"Dummy"}
{"Name":"N", "Type":"Dummy"}
]
]
|Outputs=
|Outputs=
[
[
{"Type":"Dummy"}
{"Name":"*", "Type":"Dummy"}
]
]
|}}
|}}


[[Category:ProtoFlux:Stubs]]
The '''Value Square''' node takes in a value and squares it, basically multiplying itself by 2 and returning that value.
 
{{Note|This is similar to using the [[ProtoFlux:Pow|Pow]] node, and using the value that you want to square and setting the power to 2.|information}}
 
{{Note|If you want to cube a value, use the [[ProtoFlux:Value Cube|Value Cube]] node instead.|suggestion}}
 
== Inputs ==
 
=== N (Pseudo-Generic) ===
 
The number we want to square.
 
== Outputs ==
 
=== * (Pseudo-Generic) ===
 
Returns the squared value.
 
== See Also ==
* Wikipedia's definition of [https://en.wikipedia.org/wiki/Square_(algebra) square].
 
[[Category:ProtoFlux:Operators]]
[[Category:ProtoFlux:Operators]]

Latest revision as of 00:41, 21 August 2025

n2
N
*
Operators

The Value Square node takes in a value and squares it, basically multiplying itself by 2 and returning that value.

This is similar to using the Pow node, and using the value that you want to square and setting the power to 2.
If you want to cube a value, use the Value Cube node instead.

Inputs

N (Pseudo-Generic)

The number we want to square.

Outputs

* (Pseudo-Generic)

Returns the squared value.

See Also

  • Wikipedia's definition of square.