The main data types and structures can be divided into several categories:
>>> from java.util import Random
>>> from Numeric import [class]or
>>> from jhplot.math import [class]where [class] is the corresponding imported class. These packages should be used if one wants to have a short and highly-optimised code, which is a factor 10 faster than the usual Jython code with big loops over primitive data types.
>>> from hep.aida import [class]
>>> from jhplot import [class1],[class2],[class3]where [class] is the corresponding class for import.
>>> from shplot import *
As it will be explained below, the advantage of this package is that many common arithmetic operators are overloaded (something which cannot be done when one calls directly Java classes)
The most important classes of jHPlot package, which is the core of jHepWork, will be discussed below. Also, below we will discuss only Jython scripting. Analogously, one can write programs in BeanShell or Java.