ProtoFlux:Avg: Difference between revisions

From Resonite Wiki
add avg node
 
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.