Object-oriented programming for numerical methods

  • Authors:
  • Lie June Shiau

  • Affiliations:
  • -

  • Venue:
  • ACM SIGCSE Bulletin
  • Year:
  • 1993

Quantified Score

Hi-index 0.00

Visualization

Abstract

This article introduces the merits of employing a new technique, Object-Oriented programming, in Numerical Methods courses. Object-Oriented programs interpret mathematical concepts more closely to their definitions. They are also easier to implement and maintain. More importantly, Object-Oriented techniques avoid many human errors. C++, an Object-Oriented extension to the popular C programming language, is chosen as the programming language for the demonstrated examples. We also include comparative examples to show that C++ is more suitable than the traditional scientific computer language FORTRAN for numerical programming.