ProtoFlux:Exp: Difference between revisions

From Resonite Wiki
Created a page for the Exp node.
 
Technically "Pseudo-generic".
 
Line 4: Line 4:
|Inputs=
|Inputs=
[
[
{"Name":"N", "Type":"float"}
{"Name":"N", "Type":"Dummy"}
]
]
|Outputs=
|Outputs=
[
[
{"Name":"*", "Type":"float"}
{"Name":"*", "Type":"Dummy"}
]
]
|}}
|}}
Line 16: Line 16:
== Inputs ==
== Inputs ==


=== N ([[Type:float|float]]) ===  
=== N (Pseudo-generic) ===  


The power for this node.
The power for this node.
Line 22: Line 22:
== Outputs ==
== Outputs ==


=== * ([[Type:float|float]]) ===
=== * (Pseudo-generic) ===


Returns the result of the base ([[ProtoFlux:E|e]]) raised to the provided power.
Returns the result of the base ([[ProtoFlux:E|e]]) raised to the provided power.

Latest revision as of 10:14, 22 May 2024

eⁿ
N
*
Math

The Exp node takes in a power and raises the base of e using that power, then returns the result. Similar to the Pow node but using e instead for the base.

Inputs

N (Pseudo-generic)

The power for this node.

Outputs

* (Pseudo-generic)

Returns the result of the base (e) raised to the provided power.

Examples

Let's consider the expression e².

e ≈ 2.718282

Using a calculator, we find: e² ≈ 2.71828 × 2.71828 ≈ 7.38906

Explanation

   Base: The base in this example is the constant e.
   Exponent: The exponent is 2.
   Power: e² is the power, which means e is raised to the second power.