Neuron®
The Neuron® is the basis for the creation of open and secure federated networks for smart societies.
Loading...
Searching...
No Matches
WavesVariation.cs
1using System;
2
4{
9 {
14 : base(Start, Length, Expression)
15 {
16 }
17
21 public override void Operate(ref double x, ref double y)
22 {
23 double t = this.homogeneousTransform[2];
24 double x2 = x + this.homogeneousTransform[1] * Math.Sin(y / (t * t + 1e-6));
25
26 t = this.homogeneousTransform[5];
27 y += this.homogeneousTransform[4] * Math.Sin(x / (t * t + 1e-6));
28 x = x2;
29 }
30
34 public override string FunctionName => nameof(WavesVariation);
35 }
36}
Class managing a script expression.
Definition: Expression.cs:39
WavesVariation(int Start, int Length, Expression Expression)
TODO
override void Operate(ref double x, ref double y)
TODO
int Length
Length of expression covered by node.
Definition: ScriptNode.cs:101
int Start
Start position in script expression.
Definition: ScriptNode.cs:92