Summary
The report printer.
Unit
MtxVec
Hierarchy
TMtxVecReport
Subclasses
None
Description
The most common way to debug an algorithm in the old days was to print the values of the variables to the screen or to the file. Today it is more common to use watches and tooltips to examine the values of variables. In some cases this two approaches do not work because of multithreading. Sometimes it is also desirable to have an algorithm return report on its convergence, like it is the case with optimization algorithms. For cases like this there is a global variable called Report declared in MtxVec.pas unit. Report is of a TMtxVecReport type and is derived from TStringStream. It has been extended with several new methods to support:
- Saving the stream to TStream or a file.
- Write the contents of TVec and TMtx objects to the stream. (as text)
- Specify the text formatting of the floating point values.
Properties
Methods
| Copyright 2008 Dew Research |
http://www.dewresearch.com