Neuron®
The Neuron® is the basis for the creation of open and secure federated networks for smart societies.
Loading...
Searching...
No Matches
zCosVariation.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 Mod = Math.Exp(-y);
24 double zr = Mod * (Math.Cos(x));
25 double zi = Mod * (Math.Sin(x));
26
27 Mod = Math.Exp(y);
28 zr += Mod * Math.Cos(-x);
29 zi += Mod * Math.Sin(-x);
30
31 x = zr * 0.5;
32 y = zi * 0.5;
33 }
34
38 public override string FunctionName => nameof(ZCosVariation);
39 }
40}
Class managing a script expression.
Definition: Expression.cs:39
ZCosVariation(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