50 this.Arguments[0],
this.Arguments[1],
this.Start,
this.Length,
this.Expression);
57 public override void Operate(ref
double x, ref
double y)
61 double lnz = Math.Log(Math.Sqrt(
this.re *
this.re +
this.im *
this.im));
62 double argz = Math.Atan2(this.
im, this.
re);
63 double amp = Math.Exp(x * lnz - y * argz);
64 double phi = y * lnz + x * argz;
66 x = amp * Math.Cos(phi);
67 y = amp * Math.Sin(phi);
Class managing a script expression.
static Complex ToComplex(object Object)
Converts an object to a complex value.
static double ToDouble(object Object)
Converts an object to a double value.
ZPowerBaseVariation(ScriptNode Parameter1, ScriptNode Parameter2, int Start, int Length, Expression Expression)
TODO
override void Operate(ref double x, ref double y)
TODO
override IElement Evaluate(IElement[] Arguments, Variables Variables)
TODO
ZPowerBaseVariation(ScriptNode Parameter1, int Start, int Length, Expression Expression)
TODO
override string FunctionName
TODO
object AssociatedObjectValue
TODO
ScriptNode[] Arguments
Function arguments.
Base class for all nodes in a parsed script tree.
int Length
Length of expression covered by node.
int Start
Start position in script expression.
Basic interface for all types of elements.