CppAD: A C++ Algorithmic Differentiation Package  20171217
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros
csum_stacks.hpp
Go to the documentation of this file.
1 // $Id$
2 # ifndef CPPAD_LOCAL_OPTIMIZE_CSUM_STACKS_HPP
3 # define CPPAD_LOCAL_OPTIMIZE_CSUM_STACKS_HPP
4 /* --------------------------------------------------------------------------
5 CppAD: C++ Algorithmic Differentiation: Copyright (C) 2003-16 Bradley M. Bell
6 
7 CppAD is distributed under multiple licenses. This distribution is under
8 the terms of the
9  Eclipse Public License Version 1.0.
10 
11 A copy of this license is included in the COPYING file of this distribution.
12 Please visit http://www.coin-or.org/CppAD/ for information on other licenses.
13 -------------------------------------------------------------------------- */
14 # include <stack>
16 
17 /*!
18 \file csum_stacks.hpp
19 Information about one cumulative summation operation.
20 */
21 
22 // BEGIN_CPPAD_LOCAL_OPTIMIZE_NAMESPACE
23 namespace CppAD { namespace local { namespace optimize {
24 /*!
25 Information about one cumulative summation operation.
26 */
28  /// old operator indices for this cummulative summation
29  std::stack<struct struct_csum_variable> op_stack;
30  /// old variable indices to be added
31  std::stack<size_t > add_stack;
32  /// old variavle indices to be subtracted
33  std::stack<size_t > sub_stack;
34 };
35 
36 } } } // END_CPPAD_LOCAL_OPTIMIZE_NAMESPACE
37 
38 # endif
Information about one cumulative summation operation.
Definition: csum_stacks.hpp:27
std::stack< struct struct_csum_variable > op_stack
old operator indices for this cummulative summation
Definition: csum_stacks.hpp:29
std::stack< size_t > sub_stack
old variavle indices to be subtracted
Definition: csum_stacks.hpp:33
std::stack< size_t > add_stack
old variable indices to be added
Definition: csum_stacks.hpp:31
Information about one old variable that is part of a new CSumOp operation.