public override double Calculate(double Result, double x, Operator Operator)
        {
            double Res = x;

            foreach (Operator Oper in Operator.Operators)
            {
                Res = Oper.Calculate(Res, x);
                if (!Tools.IsANumber(Res))
                {
                    return(double.NaN);
                }
            }
            return(Operator.ExtraMathFunction.Calculate(Result, Res, Operator));
        }