Skip to main content

Komplexe Zahlen für Java

  • Conference paper
JIT’99

Part of the book series: Informatik aktuell ((INFORMAT))

Zusammenfassung

Eine Voraussetzung für den Einsatz von Java im wissenschaftlichen Rechnen ist die adäquate Unterstützung komplexer Zahlen. Die vorliegende Arbeit stellt einen Präprozessor und dessen Übersetzungsschema vor, der einen neuen primitiven Datentyp complex mit zugehörigen Operatoren auf reguläres Java abbildet. Die offensichtliche Ersetzung einer complex-Variablen durch zwei double-Variablen reicht dazu bei weitem nicht aus.

Der vom Programmierer zu schreibende Code wird durch den primitiven Typ nicht nur lesbarer als methodenbasierte Operationen auf Complex-Objekten, sondern er wird auch schneller ausgeführt. Gemittelt über alle untersuchten Kern- und Anwendungs-Benchmarks laufen die auf dem Basistyp complex basierenden Programmversionen um den Faktor 2 bis 21 (je nach JVM) schneller als die klassenbasierten Vergleichsversionen.

This is a preview of subscription content, log in via an institution to check access.

Access this chapter

Chapter
USD 29.95
Price excludes VAT (USA)
  • Available as PDF
  • Read on any device
  • Instant download
  • Own it forever
eBook
USD 54.99
Price excludes VAT (USA)
  • Available as PDF
  • Read on any device
  • Instant download
  • Own it forever
Softcover Book
USD 69.99
Price excludes VAT (USA)
  • Compact, lightweight edition
  • Dispatched in 3 to 5 business days
  • Free shipping worldwide - see info

Tax calculation will be finalised at checkout

Purchases are for personal use only

Institutional subscriptions

Preview

Unable to display preview. Download preview PDF.

Unable to display preview. Download preview PDF.

Literatur

  1. G. Bracha, M. Odersky, D. Stoutamire, and P. Wadler. Making the future safe for the past: Adding genericity to the Java programming language. In Proc. of OOPSLA’98, October 1998. http://www.cis.unisa.edu.au/ pizza/gj/.

  2. C9x proposal. ftp://ftp.dmk.com/DMK/sc22wgl4/c9x/complex/ and http://anubis.dkuug.dk/jtcl/sc22/wgl4/.

  3. J. D. Darcy and W. Kahan. Borneo language, http://www.cs.berkeley.edu/ darcy/Borneo.

  4. J. Gosling. The evolution of numerical computing in Java. http://java.sun.com/people/jag/FP.html.

  5. IBM. Numerical intensive java. http://www.alphaWorks.ibm.com/tech/ninja/.

  6. Java Grande Forum, http://www.javagrande.org.

  7. JavaParty. http://wwwipd.ira.uka.de/JavaParty/.

  8. SM Omohundro and D. Stoutamire. The Sather 1.1 specification. Technical Report TR-96-012, ICSI, Berkeley, 1996.

    Google Scholar 

  9. G. Steele. Growing a language. In Proc. of OOPSLA’98, October 1998. key note

    Google Scholar 

  10. G. K. Thiruvathukal, F. Breg, R. Boisvert, J. Darcy, G. C. Fox, D. Gannon, S. Hassanzadeh, J. Moreira, M. Philippsen, R. Pozo, and M. Snir (editors). Java Grande Forum Report: Making Java work for high-end computing. In Supercomputing ’98, Orlando, Florida, November 1998. panel handout

    Google Scholar 

  11. Visual Numerics. Java grande complex reference. http://www.vni

  12. P. Wu, S. Midkiff, J. Moreira, and M. Gupta.Efficient support for complex numbers in Java. In ACM 1999 Java Grande Conference, San Francisco, 1999. pp 109–118.

    Google Scholar 

Download references

Author information

Authors and Affiliations

Authors

Editor information

Editors and Affiliations

Rights and permissions

Reprints and permissions

Copyright information

© 1999 Springer-Verlag Berlin Heidelberg

About this paper

Cite this paper

Günthner, E., Philippsen, M. (1999). Komplexe Zahlen für Java. In: Cap, C.H. (eds) JIT’99. Informatik aktuell. Springer, Berlin, Heidelberg. https://doi.org/10.1007/978-3-642-60247-4_24

Download citation

  • DOI: https://doi.org/10.1007/978-3-642-60247-4_24

  • Publisher Name: Springer, Berlin, Heidelberg

  • Print ISBN: 978-3-540-66464-2

  • Online ISBN: 978-3-642-60247-4

  • eBook Packages: Springer Book Archive

Publish with us

Policies and ethics