Ejemplo n.º 1
0
 static void Main(string[] args)
 {
     RunTest.Start("perf");
     mXparser.consolePrintln(".NET CLR version:" + Environment.Version);
     mXparser.consolePrintln(".NET version:" + System.Diagnostics.FileVersionInfo.GetVersionInfo(typeof(int).Assembly.Location).ProductVersion);
                 #if PCL
     Console.WriteLine(mXparser.getConsoleOutput());
     #endif
     for (var i = 0.0; i < 25; i += 0.1)
     {
         Console.WriteLine($@"{i}, {org.mariuszgromada.math.mxparser.mathcollection.SpecialFunctions.BesselJ(i, 0)}");
     }
 }
Ejemplo n.º 2
0
        protected override void OnCreate(Bundle bundle)
        {
            base.OnCreate(bundle);

            // Set our view from the "main" layout resource
            SetContentView(Resource.Layout.Main);

            // Get our button from the layout resource,
            // and attach an event to it
            Button button = FindViewById <Button>(Resource.Id.MyButton);

            button.Click += delegate { button.Text = string.Format("{0} clicks!", count++); };


            RunTest.Start("api");
            mXparser.consolePrintln(".NET version:" + System.Diagnostics.FileVersionInfo.GetVersionInfo(typeof(int).Assembly.Location).ProductVersion);
        }
 static void Main(string[] args)
 {
     RunTest.Start("syn", "api", "reg");
 }
Ejemplo n.º 4
0
 static void Main(string[] args)
 {
     RunTest.Start("reg");
 }