コード例 #1
0
        public double getY(string Expression, double x)
        {
            double y;

            parser.changeVariable("x", x);
            y = parser.Parse(Expression);

            PointF point = new PointF();

            point.X = (float)x;
            point.Y = (float)y;

            return(y);
        }