Toggle menu
Toggle preferences menu
Toggle personal menu
Not logged in
Your IP address will be publicly visible if you make any edits.

ProtoFlux:Avg: Difference between revisions

From Resonite Wiki
J4 (talk | contribs)
add avg node
 
Yosh (talk | contribs)
to the protoflux standard
Line 13: Line 13:
|}}
|}}


Returns the average of two values.
== Usage ==
The <code>Avg</code> node returns the [https://en.wikipedia.org/wiki/Arithmetic_mean arithmetic mean] of two values.
 
== Inputs ==
 
=== A (Dummy) ===
A value.
 
=== B (Dummy) ===
A value. This value must match the type of <code>A</code>.
 
== Outputs ==
 
=== * (Dummy) ===
The arithmetic mean of the two inputs.


[[Category:ProtoFlux:Math]]
[[Category:ProtoFlux:Math]]

Revision as of 01:41, 15 January 2024

Avg
A
*
B
Math

Usage

The Avg node returns the arithmetic mean of two values.

Inputs

A (Dummy)

A value.

B (Dummy)

A value. This value must match the type of A.

Outputs

* (Dummy)

The arithmetic mean of the two inputs.