Rogue Wave banner
Previous fileTop of DocumentContentsIndexNext file

9.1 Overview

In this section, we present several examples using the Rogue Wave Math.h++ class library. All of the files needed to build and run the examples are located in the following directories:

Table 8 describes the Math.h++ examples. If you are reading this manual online, you can click on the name of the example to take you to its code in this chapter.

Table 8 -- The Math.h++ examples

FilenameExample Description
example1.cpp
Uses class RWMathVec<double> to do simple statistics with double precision vectors
example2.cpp
Uses matrix classes to multiply a double precision matrix by a vector
example3.cpp
Uses the complex FFT server class
example4.cpp
Illustrates type conversion
example5.cpp
Uses member functions saveOn() and restoreFrom() for data storage and retrieval
example6.cpp
Shows how a CosVec class may be derived from the class RWMathVec<double>
example7.cpp
Uses class RWGenFact<T> to do linear algebra with double precision matrices
example8.cpp
Uses multiple inheritance to do runtime binding
example9.cpp
Demonstrates how to convert a function into a function object, for use as the template parameter to the random number generator classes in Math.h++
exampl10.cpp
Shows how to use a user-defined type


Previous fileTop of DocumentContentsIndexNext file

©Copyright 1999, Rogue Wave Software, Inc.
Contact Rogue Wave about documentation or support issues.