Package org.jscience

Class JScience

java.lang.Object
org.jscience.JScience

public final class JScience extends Object

This class represents the JScience library; it contains the main(java.lang.String[]) method for versionning, self-tests, and performance analysis.

  • Field Details

  • Method Details

    • main

      public static void main(String[] args) throws Exception
      The library main(java.lang.String[]) method. The archive <codejscience.jar is auto-executable.
      • java [-cp javolution.jar] -jar jscience.jar version to output version information.
      • java [-cp javolution.jar] -jar jscience.jar test to perform self-tests.
      • java [-cp javolution.jar] -jar jscience.jar perf for performance analysis.
      Parameters:
      args - the option arguments.
      Throws:
      Exception - if a problem occurs.
    • endTime

      public static void endTime(int iterations)
      Ends measuring time and display the execution time per iteration.
      Parameters:
      iterations - the number iterations performed since startTime().