![]() |
Object-oriented Scientific Computing Library: Version 0.910
|
The example programs are in the examples
directory. After installation, they can be compiled and executed by running make
o2scl-examples
in that directory. This will also test the output of the examples to make sure it is correct. If all the examples succeed, the message All O2scl tests passed.
will appear at the end. The output for each example is placed in the corresponding file with a .scr
extension.
Alternatively, you can make the executable for each example in the examples
directory individually using, e.g. make ex_mroot
.
Also, the testing code for each class is occasionally useful for providing examples of their usage. The testing source code for each source file is named with an _ts.cpp
prefix in the same directory as the class source.
Documentation generated with Doxygen. Provided under the GNU Free Documentation License (see License Information).