Changeset 190


Ignore:
Timestamp:
Nov 29, 2010 6:31:25 PM (9 years ago)
Author:
kulshres
Message:

correct documentation of tapestats and STAT_SIZE

Signed-off-by: Kshitij Kulshreshtha <kshitij@…>

Location:
trunk/ADOL-C/doc
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • trunk/ADOL-C/doc/adolc-manual.tex

    r178 r190  
    809809{\sf counts[1]}: & the number of dependents, i.e.~calls to \boldmath $\gg=$ \unboldmath,\\
    810810{\sf counts[2]}: & the maximal number of live active variables,\\
    811 {\sf counts[3]}: & the size of value stack (number of overwrites),\\
     811{\sf counts[3]}: & the size of taylor stack (number of overwrites),\\
    812812{\sf counts[4]}: & the buffer size (a multiple of eight),
    813813\end{tabular}
     
    816816\begin{tabular}{ll}
    817817{\sf counts[5]}: & the total number of operations recorded,\\
    818 {\sf counts[6-10]}: & other internal information about the tape.
     818{\sf counts[6-13]}: & other internal information about the tape.
    819819\end{tabular}
    820820\]
    821 The values {\sf maxlive} = {\sf counts[2]} and {\sf vssize} = {\sf counts[3]}
     821The values {\sf maxlive} = {\sf counts[2]} and {\sf tssize} = {\sf counts[3]}
    822822determine the temporary
    823823storage requirements during calls to the routines
     
    827827 $(${\sf deg}$+1)*${\sf maxlive} {\sf double}s in
    828828core and, in addition, a sequential data set called the value stack
    829 of {\sf vssize}$*${\sf keep} {\sf revreal}s if called with the
     829of {\sf tssize}$*${\sf keep} {\sf revreal}s if called with the
    830830option {\sf keep} $>$ 0. Here
    831831the type {\sf revreal} is defined as {\sf double} or {\sf float} in
     
    37363736...
    37373737void main() {
    3738 int n,i,j,tape_stats[11];
     3738int n,i,j,tape_stats[STAT_SIZE];
    37393739cout << "SPEELPENNINGS PRODUCT (ADOL-C Documented Example) \n";
    37403740cout << "number of independent variables = ?  \n";
Note: See TracChangeset for help on using the changeset viewer.