Efficient support for complex numbers in Java
Peng Wu, Samuel Pratt Midkiff, José Eduardo Moreira et al. · 1999
One glaring weakness of Java for numerical programming is its lack of support for complex numbers.Simply creating a Complex number class leads to poor performance relative to Fortran.We show in this paper, however, that the combination of stich a Complex class and a compiler that understands its semantics does indeed lead to Fortran-like performance.This performance gain is achieved while leaving the Java language completely unchanged and maintaining full compatibility with existing Java Virtual Machines.We quantify the effectiveness of our approach through experiments with linear algebra, electromagnetics, and computational fluid-dynamics kernels.
Cited by 45 works. doi:10.1145/304065.304109 Open-access PDF
Authors
References
- Matrix Computations
- Numerical recipes in Pascal: the art of scientific computing
- Numerical recipes in Fortran (The art of scientific computing)
- Numerical recipes in FORTRAN: the art of scientific computing
- Foundations for Microstrip Circuit Design
- Foundations for microstrip circuit design
- Fortran 90 Handbook: Complete Ansi/Iso Reference
- Escape analysis on lists
- On the complexity of escape analysis
- Automatic selection of high-order transformations in the IBM XL FORTRAN compilers