Technical Report

 

Generalized arithmetic in C++ Public Deposited

Downloadable Content

Download PDF
https://ir.library.oregonstate.edu/concern/technical_reports/ms35t9715

Descriptions

Attribute NameValues
Alternative Title
Creator
Abstract
  • A generalized arithmetic package allows a programmer to think of numbers as abstract quantities, without regard to whether they are represented as integers, floating point values, fractions, complex numbers, or even polynomials. In this paper we describe two implementation techniques that can be used to produce a generalized arithmetic package in the programming language C++, and evaluate the advantages and disadvantages of the two approaches. The second approach uses a technique called multiple polymorphism that has applicability to many other problem areas.
  • Keywords: C++, Polymorphism, Arithmetic, Object Oriented Programming
  • Keywords: C++, Polymorphism, Arithmetic, Object Oriented Programming
Resource Type
Date Available
Date Issued
Series
Subject
Rights Statement
Publisher
Peer Reviewed
Language
Replaces

Relationships

Parents:

This work has no parents.

Items