8. Programming with Numeric Vectors and Matrices
8.1. Introduction
In this chapter, we depart from our study of numeric data items to consider a related topic. Many nontrivial programs that process numeric data also manipulate arrays of data items. Chapter 1 explained that arrays are a special kind of container data (Java collection). Although entire volumes discuss the concepts and techniques of object-oriented container classes, this chapter introduces just enough about object-oriented arrays to meet the needs of typical computational programs, avoiding complex features that such programs are unlikely to need.
8.2. Existing facilities
We begin by examining the facilities already built into the languages or their standard libraries.
8.2.1. ...
Get Object-Oriented Computation in C++ and Java: A Practical Guide to Design Patterns for Object-Oriented Computing now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.