Neuron®
The Neuron® is the basis for the creation of open and secure federated networks for smart societies.
Loading...
Searching...
No Matches
BentVariation.cs
2{
7 {
12 : base(Start, Length, Expression)
13 {
14 }
15
19 public override void Operate(ref double x, ref double y)
20 {
21 if (x < 0)
22 x *= 2;
23
24 if (y < 0)
25 y *= 0.5;
26 }
27
31 public override string FunctionName => nameof(BentVariation);
32 }
33}
Class managing a script expression.
Definition: Expression.cs:39
override void Operate(ref double x, ref double y)
TODO
BentVariation(int Start, int Length, Expression Expression)
TODO
int Length
Length of expression covered by node.
Definition: ScriptNode.cs:101
int Start
Start position in script expression.
Definition: ScriptNode.cs:92