Chapter

Compiler Construction

Volume 641 of the series Lecture Notes in Computer Science pp 312-318

Date:

The implementation of objectmath — a high-level programming environment for scientific computing

  • Lars ViklundAffiliated withProgramming Environments Laboratory Department of Computer and Information Science, Linköping University
  • , Johan HerberAffiliated withProgramming Environments Laboratory Department of Computer and Information Science, Linköping University
  • , Peter FritzsonAffiliated withProgramming Environments Laboratory Department of Computer and Information Science, Linköping University

Abstract

We present the design and implementation of ObjectMath, a language and environment for high-level equation-based modeling and analysis in scientific computing. The ObjectMath language integrates object-oriented modeling with mathematical language features that make it possible to express mathematics in a natural and consistent way. The implemented programming environment includes a graphical browser for visualizing and editing inheritance hierarchies, an application oriented editor for editing ObjectMath equations and formulae, a computer algebra system for doing symbolic computations, support for generation of numerical code from equations, and routines for graphical presentation. This programming environment has been successfully used in modeling and analyzing two different problems from the application domain of machine element analysis in an industrial environment