The Array Package for Java is a collection of class files that provides to the Java programmer a true multidimensional Array data type. The element types supported are all the Java primitive types, Object and Complex. The Array package supports Arrays of up to rank 3, and provides a variety of operations on those Arrays. Methods and constructors are provided to support:
[Top]
The most immediate advantages flow from the supported operations. As discussed in the previous question, a variety of operations taken for granted by Fortran programmers, including a BLAS implementation and efficient sectioning operations, are provided. Because the Array package has been designed both for ease of use, and for easy optimization by Java compilers, it is our expectation that optimizing Java compilers will be able generate code with significantly higher performance than the equivalent programs written using Java arrays. A fuller discussion of the philosophy behind the Array package, and its advantages, can be found in our technical report, A Standard Java Array Package for Technical Computing, available in postscript (132KB) or PDF (146KB).
[Top]
Programs that use elemental Array Package operations (e.g. element get or set) and no aggregate operations (e.g. BLAS or numerical or logical Array operations) may perform worse than an equivalent program using Java arrays, with some compilers/JVMs. We will appreciate your feedback should you discover other disadvantages.
[Top]
The Array package was developed and extensively tested under JDK 1.1.6. and so we recommend using this, or a newer version of the JDK. At least 10MB of disk space is required to store the Array Package files (without the documentation the disk space requirement is just 240KB). The required amount of memory to run the Array Package is 32MB, with 64MB of memory recommended. 64MB is required if you use an IDE.
[Top]
In brief:
Please see your Java installation instructions for details on how to change your CLASSPATH.
You should now be able to compile and run the demonstration application.
[Top]
Please send mail describing the problem to smidkiff@us.ibm.com.
Please include compilable source code for a sample class (as small as possible) that demonstrates the problem. A short explanation of the problem and the software and hardware platforms you have encountered it on will also be helpful.
[Top]
Our technical report, A Standard Java Array Package for Technical Computing available in either postscript (132KB) or PDF(146K) discusses the guiding principles, rationale, and design of the Array Package for Java and BLAS. The Documentation, included in arraydoc.zip, gives complete details about the methods available. Additional details about this, and other work by our group with Java and numerically intensive computing can be found in our papers and presentations
There is also a collection of small demonstration applications which demonstrate how to use the Array Package for Java and BLAS routines.
[Top]
[
IBM home page |
Search |
Contact IBM |
Help |
Legal |
Privacy
]