# Changeset 1526

Ignore:
Timestamp:
Sep 22, 2009 8:41:59 AM (11 years ago)
Message:

trunk: Change 'from node' to set.

makefile.in: update date for corresponding makfile.am.

Location:
Files:
7 edited

### Legend:

Unmodified
Removed

 r1525 \param sparsity \b Input: if y_2 is a variable, the from node with index \a arg contains the sparsity bit pattern corresponding to y_2. if y_2 is a variable, the set with index t is the sparsity pattern corresponding to y_2. This identifies which of the independent variables the variable y_2 depends on. \n \b Input: if y_3 is a variable, the from node with index \a arg contains the sparsity bit pattern corresponding to y_3. if y_3 is a variable, the set with index t is the sparsity pattern corresponding to y_3. This identifies which of the independent variables the variable y_3 depends on. \n \b Output: The from node with index \a i_z containts the sparsity bit pattern corresponding to z. The set with index T is the sparsity pattern corresponding to z. This identifies which of the independent variables the variable z depends on. \param sparsity if y_2 is a variable, the from node with index \a arg contains the sparsity bit pattern corresponding to y_2. if y_2 is a variable, the set with index t is the sparsity pattern corresponding to y_2. This identifies which of the dependent variables depend on the variable y_2. On input, this pattern corresponds to the function G. \n \n if y_3 is a variable, the from node with index \a arg contains the sparsity bit pattern corresponding to y_3. if y_3 is a variable, the set with index t is the sparsity pattern corresponding to y_3. This identifies which of the dependent variables depeond on the variable y_3. On input, this pattern corresponds to the function G. \n \b Output: The from node with index \a i_z containts the sparsity bit pattern corresponding to z. The set with index T is the sparsity pattern corresponding to z. This identifies which of the dependent variables depend on the variable z. On input and output, this pattern corresponds to the function G.

 r1524 is the total number of variables on the tape; i.e., \a play->num_rec_var(). This is also the number of from nodes in \a var_sparsity. \param play \b Input: For j = 1 , ... , \a n, the sparsity pattern for the independent variable with index (j-1) corresponds to the from node with index j in \a var_sparsity. corresponds to the set with index j in \a var_sparsity. \n \n \b Output: For i = \a n + 1 , ... , \a numvar - 1, the sparsity pattern for the variable with index i on the tape corresponds to the from node with index i in \a var_sparsity. corresponds to the set with index i in \a var_sparsity. \par Checked Assertions: \li numvar == var_sparsity.n_set() \li numvar == play->num_rec_var() */ // check numvar argument CPPAD_ASSERT_UNKNOWN( play->num_rec_var() == numvar ); CPPAD_ASSERT_UNKNOWN( play->num_rec_var()  == numvar ); CPPAD_ASSERT_UNKNOWN( var_sparsity.n_set() == numvar ); // set the number of operators

 r1525 \param i_z is the AD variable index corresponding to the variable z; i.e., it is the from node index for z in \a var_sparsity. the set with index \a i_z in \a var_sparsity is the sparsity pattern correpsonding to z. \param arg \a arg variable index corresponding to the left operand for this operator; i.e. the from node index in the spasity patterns correspoding to x. i.e. the set with index \a arg in \a var_sparsity is the spasity pattern correspoding to x. \n \n arg