Package org.jscience

Class 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.

    • Method Detail

      • main

        public static void main​(String[] args)
                         throws Exception
        The library main(java.lang.String[]) method. The archive 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().