Changeset 3864


Ignore:
Timestamp:
Jan 17, 2017 3:30:29 PM (3 years ago)
Author:
bradbell
Message:

merge to branch: trunk
from repository: https://github.com/coin-or/CppAD
start hash code: 0b916203422e362a7c090b57b1866ee6fd733758
end hash code: 2a561ea23f6881dce8f66b6f6f15ad5d7144e067

commit 2a561ea23f6881dce8f66b6f6f15ad5d7144e067
Author: Brad Bell <bradbell@…>
Date: Tue Jan 17 13:16:10 2017 -0700

Change 'computed assignment' to 'compound assignment'.

commit e501e6ccc9e06371a189fe9064c90194118ee93b
Author: Brad Bell <bradbell@…>
Date: Tue Jan 17 12:38:13 2017 -0700

Changes for start of 2017.

commit a993499f977a27d6782bdf03aa2385b984e48d4b
Author: Brad Bell <bradbell@…>
Date: Tue Jan 17 10:29:02 2017 -0700

Advance to cppad-20170117.

commit 79e49539d244a3c5d76026fb349d6cb483a136f6
Author: Brad Bell <bradbell@…>
Date: Sun Jan 1 04:30:37 2017 -0700

new_release.sh: working on 20170000.0 release.

Location:
trunk
Files:
2 added
1 deleted
34 edited

Legend:

Unmodified
Added
Removed
  • trunk/AUTHORS

    r3859 r3864  
    22             ===========================================
    33
    4 To date, 2017-01-01, Bradley M. Bell is the sole author of CppAD.
     4To date, 2017-01-17, Bradley M. Bell is the sole author of CppAD.
    55While Bradley M. Bell worked for the University of Washington during
    66the development of CppAD, the following are also true:
  • trunk/CMakeLists.txt

    r3859 r3864  
    1717
    1818# cppad_version is used by set_version.sh to get the version number.
    19 SET(cppad_version      "20170101" )
     19SET(cppad_version      "20170117" )
    2020SET(cppad_url          "http://www.coin-or.org/CppAD" )
    2121SET(cppad_description  "Differentiation of C++ Algorithms" )
  • trunk/bin/add_copyright.sh

    r3858 r3864  
    11#! /bin/bash -e
    2 # $Id$
    32# -----------------------------------------------------------------------------
    4 # CppAD: C++ Algorithmic Differentiation: Copyright (C) 2003-16 Bradley M. Bell
     3# CppAD: C++ Algorithmic Differentiation: Copyright (C) 2003-17 Bradley M. Bell
    54#
    65# CppAD is distributed under multiple licenses. This distribution is under
     
    4039        upper_name=`echo $file_name | tr [a-z./] [A-Z__]`
    4140        cat << EOF  > bin/add_copyright.$$
    42 // \$Id\$
    4341# ifndef CPPAD_$upper_name
    4442# define CPPAD_$upper_name
    4543/* --------------------------------------------------------------------------
    46 CppAD: C++ Algorithmic Differentiation: Copyright (C) 2003-16 Bradley M. Bell
     44CppAD: C++ Algorithmic Differentiation: Copyright (C) 2003-17 Bradley M. Bell
    4745
    4846CppAD is distributed under multiple licenses. This distribution is under
     
    5755        cpp | omh | i)
    5856        cat << EOF  > bin/add_copyright.$$
    59 // \$Id\$
    6057/* --------------------------------------------------------------------------
    61 CppAD: C++ Algorithmic Differentiation: Copyright (C) 2003-16 Bradley M. Bell
     58CppAD: C++ Algorithmic Differentiation: Copyright (C) 2003-17 Bradley M. Bell
    6259
    6360CppAD is distributed under multiple licenses. This distribution is under
     
    7370        cmake | txt)
    7471        cat << EOF  > bin/add_copyright.$$
    75 # \$Id\$
    7672# -----------------------------------------------------------------------------
    77 # CppAD: C++ Algorithmic Differentiation: Copyright (C) 2003-16 Bradley M. Bell
     73# CppAD: C++ Algorithmic Differentiation: Copyright (C) 2003-17 Bradley M. Bell
    7874#
    7975# CppAD is distributed under multiple licenses. This distribution is under
     
    9086        cat << EOF  > bin/add_copyright.$$
    9187#! /bin/bash -e
    92 # \$Id\$
    9388# -----------------------------------------------------------------------------
    94 # CppAD: C++ Algorithmic Differentiation: Copyright (C) 2003-16 Bradley M. Bell
     89# CppAD: C++ Algorithmic Differentiation: Copyright (C) 2003-17 Bradley M. Bell
    9590#
    9691# CppAD is distributed under multiple licenses. This distribution is under
  • trunk/bin/batch_edit.sh

    r3855 r3864  
    11#! /bin/bash -e
    2 # $Id$
    32# -----------------------------------------------------------------------------
    4 # CppAD: C++ Algorithmic Differentiation: Copyright (C) 2003-16 Bradley M. Bell
     3# CppAD: C++ Algorithmic Differentiation: Copyright (C) 2003-17 Bradley M. Bell
    54#
    65# CppAD is distributed under multiple licenses. This distribution is under
     
    1413'
    1514move_list='
     15        cppad/core/compute_assign.hpp
    1616'
    17 move_sed='s|/local/|/core/|'
     17move_sed='s|compute_assign|compound_assign|'
    1818#
    1919cat << EOF > junk.sed
    20 s|taion|ation|g
    21 s|aation|ation|g
     20s|\\([cC]\\)omputed \\([aA]\\)ssignment|\\1ompound \\2ssignment|g
     21s|CPPAD_CORE_COMPUTE_ASSIGN_HPP|CPPAD_CORE_COMPOUND_ASSIGN_HPP|g
     22#
     23s|compute_assign.hpp|compound_assign.hpp|g
     24s|begin compute_assign|begin compound_assign|g
     25s|cref compute_assign|cref compound_assign|g
     26s|/compute_assign/|/compound_assign/|g
     27s|%compute_assign%|%compound_assign%|g
    2228EOF
    2329# -----------------------------------------------------------------------------
  • trunk/bin/check_copyright.sh

    r3859 r3864  
    11#! /bin/bash -e
    22# -----------------------------------------------------------------------------
    3 # CppAD: C++ Algorithmic Differentiation: Copyright (C) 2003-16 Bradley M. Bell
     3# CppAD: C++ Algorithmic Differentiation: Copyright (C) 2003-17 Bradley M. Bell
    44#
    55# CppAD is distributed under multiple licenses. This distribution is under
     
    3737cat << EOF > check_copyright.1.$$
    3838# Change copyright second year to current year
    39 s/Copyright (C) \\([0-9]*\\)-[0-9][0-9] Bradley M. Bell/Copyright (C) \\1-16 Bradley M. Bell/
    40 s/Copyright (C) \\([0-9]*\\)-20[0-9][0-9] Bradley M. Bell/Copyright (C) \\1-16 Bradley M. Bell/
     39s/Copyright (C) \\([0-9]*\\)-[0-9][0-9] Bradley M. Bell/Copyright (C) \\1-17 Bradley M. Bell/
     40s/Copyright (C) \\([0-9]*\\)-20[0-9][0-9] Bradley M. Bell/Copyright (C) \\1-17 Bradley M. Bell/
    4141EOF
    4242ok=true
  • trunk/bin/new_release.sh

    r3788 r3864  
    2323# -----------------------------------------------------------------------------
    2424svn_repo="https://projects.coin-or.org/svn/CppAD"
    25 stable_version="20160000"
    26 release='1'
     25stable_version="20170000" # start each stable_version at yyyy0000
     26release='0'               # first release for each stable version is 0
    2727# -----------------------------------------------------------------------------
    2828branch=`git branch | grep '^\*'`
     
    7373if [ "$remote_hash" == '' ]
    7474then
    75         echo "new_release.sh: $stable_branch does not exist ?"
     75        echo "new_release.sh: remote $stable_branch does not exist ?"
    7676        echo "  git push origin $stable_branch"
    7777        exit 1
     
    9595        echo "local  $stable_branch: $local_hash"
    9696        echo "remote $stable_branch: $remote_hash"
     97        echo "try: git checkout $stable_branch"
     98        echo '     git push'
    9799        exit 1
    98100fi
     
    134136then
    135137        echo "new_release.sh: 'git status -s' is not empty (for master branch)"
     138        echo 'You must commit or abort changes before proceeding.'
    136139        exit 1
    137140fi
  • trunk/configure

    r3859 r3864  
    11#! /bin/sh
    22# Guess values for system-dependent variables and create Makefiles.
    3 # Generated by GNU Autoconf 2.69 for cppad 20170101.
     3# Generated by GNU Autoconf 2.69 for cppad 20170117.
    44#
    55# Report bugs to <cppad@list.coin-or.org>.
     
    581581PACKAGE_NAME='cppad'
    582582PACKAGE_TARNAME='cppad'
    583 PACKAGE_VERSION='20170101'
    584 PACKAGE_STRING='cppad 20170101'
     583PACKAGE_VERSION='20170117'
     584PACKAGE_STRING='cppad 20170117'
    585585PACKAGE_BUGREPORT='cppad@list.coin-or.org'
    586586PACKAGE_URL=''
     
    14101410  # This message is too long to be a string in the A/UX 3.1 sh.
    14111411  cat <<_ACEOF
    1412 \`configure' configures cppad 20170101 to adapt to many kinds of systems.
     1412\`configure' configures cppad 20170117 to adapt to many kinds of systems.
    14131413
    14141414Usage: $0 [OPTION]... [VAR=VALUE]...
     
    14801480if test -n "$ac_init_help"; then
    14811481  case $ac_init_help in
    1482      short | recursive ) echo "Configuration of cppad 20170101:";;
     1482     short | recursive ) echo "Configuration of cppad 20170117:";;
    14831483   esac
    14841484  cat <<\_ACEOF
     
    16141614if $ac_init_version; then
    16151615  cat <<\_ACEOF
    1616 cppad configure 20170101
     1616cppad configure 20170117
    16171617generated by GNU Autoconf 2.69
    16181618
     
    22432243running configure, to aid debugging if configure makes a mistake.
    22442244
    2245 It was created by cppad $as_me 20170101, which was
     2245It was created by cppad $as_me 20170117, which was
    22462246generated by GNU Autoconf 2.69.  Invocation command line was
    22472247
     
    31333133# Define the identity of the package.
    31343134 PACKAGE='cppad'
    3135  VERSION='20170101'
     3135 VERSION='20170117'
    31363136
    31373137
     
    85738573# values after options handling.
    85748574ac_log="
    8575 This file was extended by cppad $as_me 20170101, which was
     8575This file was extended by cppad $as_me 20170117, which was
    85768576generated by GNU Autoconf 2.69.  Invocation command line was
    85778577
     
    86308630ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
    86318631ac_cs_version="\\
    8632 cppad config.status 20170101
     8632cppad config.status 20170117
    86338633configured by $0, generated by GNU Autoconf 2.69,
    86348634  with options \\"\$ac_cs_config\\"
  • trunk/configure.ac

    r3859 r3864  
    1212dnl Process this file with autoconf to produce a configure script.
    1313dnl   package   version              bug-report
    14 AC_INIT([cppad], [20170101], [cppad@list.coin-or.org])
     14AC_INIT([cppad], [20170117], [cppad@list.coin-or.org])
    1515AM_SILENT_RULES([yes])
    1616
  • trunk/cppad/core/ad.hpp

    r3858 r3864  
    1 // $Id$
    21# ifndef CPPAD_CORE_AD_HPP
    32# define CPPAD_CORE_AD_HPP
    43
    54/* --------------------------------------------------------------------------
    6 CppAD: C++ Algorithmic Differentiation: Copyright (C) 2003-16 Bradley M. Bell
     5CppAD: C++ Algorithmic Differentiation: Copyright (C) 2003-17 Bradley M. Bell
    76
    87CppAD is distributed under multiple licenses. This distribution is under
     
    192191        friend Base Value <Base> (const AD<Base> &x);
    193192
    194         // computed assignment operators
     193        // compound assignment operators
    195194        inline AD& operator += (const AD &right);
    196195        inline AD& operator -= (const AD &right);
  • trunk/cppad/core/arithmetic.hpp

    r3845 r3864  
    1 // $Id$
    21# ifndef CPPAD_CORE_ARITHMETIC_HPP
    32# define CPPAD_CORE_ARITHMETIC_HPP
    43
    54/* --------------------------------------------------------------------------
    6 CppAD: C++ Algorithmic Differentiation: Copyright (C) 2003-16 Bradley M. Bell
     5CppAD: C++ Algorithmic Differentiation: Copyright (C) 2003-17 Bradley M. Bell
    76
    87CppAD is distributed under multiple licenses. This distribution is under
     
    2423
    2524
    26 $section AD Arithmetic Operators and Computed Assignments$$
     25$section AD Arithmetic Operators and Compound Assignments$$
    2726
    2827$childtable%
     
    3029        cppad/core/unary_minus.hpp%
    3130        cppad/core/ad_binary.hpp%
    32         cppad/core/compute_assign.hpp
     31        cppad/core/compound_assign.hpp
    3332%$$
    3433
     
    3938# include <cppad/core/unary_minus.hpp>
    4039# include <cppad/core/ad_binary.hpp>
    41 # include <cppad/core/compute_assign.hpp>
     40# include <cppad/core/compound_assign.hpp>
    4241
    4342# endif
  • trunk/cppad/core/vec_ad.hpp

    r3845 r3864  
    1 // $Id$
    21# ifndef CPPAD_CORE_VEC_AD_HPP
    32# define CPPAD_CORE_VEC_AD_HPP
    43
    54/* --------------------------------------------------------------------------
    6 CppAD: C++ Algorithmic Differentiation: Copyright (C) 2003-16 Bradley M. Bell
     5CppAD: C++ Algorithmic Differentiation: Copyright (C) 2003-17 Bradley M. Bell
    76
    87CppAD is distributed under multiple licenses. This distribution is under
     
    101100$lnext
    102101The object $icode r$$ cannot be used
    103 with the $cref/computed assignments operators/Arithmetic/$$
     102with the $cref/compound assignments operators/Arithmetic/$$
    104103$code +=$$,
    105104$code -=$$,
     
    311310/*!
    312311\def CPPAD_VEC_AD_COMPUTED_ASSIGNMENT(op, name)
    313 Prints an error message if the correspinding computed assignment is used.
     312Prints an error message if the correspinding compound assignment is used.
    314313
    315314THis macro is used to print an error message if any of the
    316 computed assignments are used with the VecAD_reference class.
     315compound assignments are used with the VecAD_reference class.
    317316The argument \c op is one of the following:
    318317+= , -= , *= , /=.
    319318The argument \c name, is a string literal with the name of the
    320 computed assignment \c op.
     319compound assignment \c op.
    321320*/
    322321# define CPPAD_VEC_AD_COMPUTED_ASSIGNMENT(op, name)                     \
     
    382381        void operator = (int             right);
    383382
    384         // computed assignments
     383        // compound assignments
    385384        CPPAD_VEC_AD_COMPUTED_ASSIGNMENT( += , " += " )
    386385        CPPAD_VEC_AD_COMPUTED_ASSIGNMENT( -= , " -= " )
  • trunk/cppad/core/zdouble.hpp

    r3845 r3864  
    1 // $Id$
    21# ifndef CPPAD_CORE_ZDOUBLE_HPP
    32# define CPPAD_CORE_ZDOUBLE_HPP
    43/* --------------------------------------------------------------------------
    5 CppAD: C++ Algorithmic Differentiation: Copyright (C) 2003-16 Bradley M. Bell
     4CppAD: C++ Algorithmic Differentiation: Copyright (C) 2003-17 Bradley M. Bell
    65
    76CppAD is distributed under multiple licenses. This distribution is under
     
    142141/*!
    143142\def CPPAD_ZDOUBLE_NORMAL_ASSIGN_OPERATOR(op)
    144 Define a computed assignment member operator that functions the same
     143Define a compound assignment member operator that functions the same
    145144as corresponding double operator.
    146145*/
     
    157156/*!
    158157\def CPPAD_ZDOUBLE_UNARY_OPERATOR(op)
    159 Define a unary computed assignment member operator.
     158Define a unary compound assignment member operator.
    160159*/
    161160# define CPPAD_ZDOUBLE_UNARY_OPERATOR(op) \
     
    300299        }
    301300        //
    302         /// Normal computed assignment
     301        /// Normal compound assignment
    303302        CPPAD_ZDOUBLE_NORMAL_ASSIGN_OPERATOR(+=)
    304         /// Normal computed assignment
     303        /// Normal compound assignment
    305304        CPPAD_ZDOUBLE_NORMAL_ASSIGN_OPERATOR(-=)
    306305        /// Normal unary operator
  • trunk/cppad/utility/check_numeric_type.hpp

    r3804 r3864  
    1 // $Id$
    21# ifndef CPPAD_UTILITY_CHECK_NUMERIC_TYPE_HPP
    32# define CPPAD_UTILITY_CHECK_NUMERIC_TYPE_HPP
    43
    54/* --------------------------------------------------------------------------
    6 CppAD: C++ Algorithmic Differentiation: Copyright (C) 2003-16 Bradley M. Bell
     5CppAD: C++ Algorithmic Differentiation: Copyright (C) 2003-17 Bradley M. Bell
    76
    87CppAD is distributed under multiple licenses. This distribution is under
     
    131130
    132131                /*
    133                 computed assignment operators
     132                compound assignment operators
    134133                */
    135134                NumericType
  • trunk/cppad/utility/poly.hpp

    r3804 r3864  
    1 // $Id$
    21# ifndef CPPAD_UTILITY_POLY_HPP
    32# define CPPAD_UTILITY_POLY_HPP
    43
    54/* --------------------------------------------------------------------------
    6 CppAD: C++ Algorithmic Differentiation: Copyright (C) 2003-16 Bradley M. Bell
     5CppAD: C++ Algorithmic Differentiation: Copyright (C) 2003-17 Bradley M. Bell
    76
    87CppAD is distributed under multiple licenses. This distribution is under
     
    104103$icode%x%  = %i%$$   $cnext assignment     $rnext
    105104$icode%x%  = %y%$$   $cnext assignment     $rnext
    106 $icode%x% *= %y%$$   $cnext multiplication computed assignment $rnext
    107 $icode%x% += %y%$$   $cnext addition computed assignment
     105$icode%x% *= %y%$$   $cnext multiplication compound assignment $rnext
     106$icode%x% += %y%$$   $cnext addition compound assignment
    108107
    109108$tend
  • trunk/doc.omh

    r3859 r3864  
    9191$comment bin/version assumes that : follows cppad version number here$$
    9292$section
    93 cppad-20170101: A Package for Differentiation of C++ Algorithms
     93cppad-20170117: A Package for Differentiation of C++ Algorithms
    9494$$
    9595$mindex AD algorithmic differentiation automatic C++ algorithm derivative CppAD version cppad.hpp$$
  • trunk/example/add_eq.cpp

    r3856 r3864  
    1 // $Id$
    21/* --------------------------------------------------------------------------
    3 CppAD: C++ Algorithmic Differentiation: Copyright (C) 2003-16 Bradley M. Bell
     2CppAD: C++ Algorithmic Differentiation: Copyright (C) 2003-17 Bradley M. Bell
    43
    54CppAD is distributed under multiple licenses. This distribution is under
     
    1413$begin AddEq.cpp$$
    1514
    16 $section AD Computed Assignment Addition: Example and Test$$
     15$section AD Compound Assignment Addition: Example and Test$$
    1716$mindex += add assign plus$$
    1817
     
    4948        y[0] += 2;           // AD<double> += int
    5049        y[0] += 4.;          // AD<double> += double
    51         y[1] = y[0] += x[0]; // use the result of a computed assignment
     50        y[1] = y[0] += x[0]; // use the result of a compound assignment
    5251
    5352        // create f: x -> y and stop tape recording
  • trunk/example/base_alloc.hpp

    r3804 r3864  
    1 // $Id$
    21# ifndef CPPAD_EXAMPLE_BASE_ALLOC_HPP
    32# define CPPAD_EXAMPLE_BASE_ALLOC_HPP
    43/* --------------------------------------------------------------------------
    5 CppAD: C++ Algorithmic Differentiation: Copyright (C) 2003-16 Bradley M. Bell
     4CppAD: C++ Algorithmic Differentiation: Copyright (C) 2003-17 Bradley M. Bell
    65
    76CppAD is distributed under multiple licenses. This distribution is under
     
    6665/* %$$
    6766
    68 $head Computed Assignment Macro$$
     67$head Compound Assignment Macro$$
    6968This macro is used for the
    70 $code base_alloc$$ computed assignment operators; to be specific,
     69$code base_alloc$$ compound assignment operators; to be specific,
    7170used with $icode op $$ equal to
    7271$code +=$$,
  • trunk/example/check_numeric_type.cpp

    r3856 r3864  
    1 // $Id$
    21/* --------------------------------------------------------------------------
    3 CppAD: C++ Algorithmic Differentiation: Copyright (C) 2003-16 Bradley M. Bell
     2CppAD: C++ Algorithmic Differentiation: Copyright (C) 2003-17 Bradley M. Bell
    43
    54CppAD is distributed under multiple licenses. This distribution is under
     
    104103# endif
    105104# if CppADMyTypeOmit != 7
    106                 // computed assignment addition
     105                // compound assignment addition
    107106                void operator += (const MyType &x)
    108107                {       d += x.d; }
    109108# endif
    110109# if CppADMyTypeOmit != 8
    111                 // computed assignment subtraction
     110                // compound assignment subtraction
    112111                void operator -= (const MyType &x)
    113112                {       d -= x.d; }
    114113# endif
    115114# if CppADMyTypeOmit != 9
    116                 // computed assignment multiplication
     115                // compound assignment multiplication
    117116                void operator *= (const MyType &x)
    118117                {       d *= x.d; }
    119118# endif
    120119# if CppADMyTypeOmit != 10
    121                 // computed assignment division
     120                // compound assignment division
    122121                void operator /= (const MyType &x)
    123122                {       d /= x.d; }
  • trunk/example/div_eq.cpp

    r3856 r3864  
    1 // $Id$
    21/* --------------------------------------------------------------------------
    3 CppAD: C++ Algorithmic Differentiation: Copyright (C) 2003-16 Bradley M. Bell
     2CppAD: C++ Algorithmic Differentiation: Copyright (C) 2003-17 Bradley M. Bell
    43
    54CppAD is distributed under multiple licenses. This distribution is under
     
    1413$begin div_eq.cpp$$
    1514
    16 $section AD Computed Assignment Division: Example and Test$$
     15$section AD Compound Assignment Division: Example and Test$$
    1716$mindex /= divide assign plus add$$
    1817
     
    4948        y[0] /= 2;           // AD<double> /= int
    5049        y[0] /= 4.;          // AD<double> /= double
    51         y[1] = y[0] /= x[0]; // use the result of a computed assignment
     50        y[1] = y[0] /= x[0]; // use the result of a compound assignment
    5251
    5352        // create f: x -> y and stop tape recording
  • trunk/example/mul_eq.cpp

    r3856 r3864  
    1 // $Id$
    21/* --------------------------------------------------------------------------
    3 CppAD: C++ Algorithmic Differentiation: Copyright (C) 2003-16 Bradley M. Bell
     2CppAD: C++ Algorithmic Differentiation: Copyright (C) 2003-17 Bradley M. Bell
    43
    54CppAD is distributed under multiple licenses. This distribution is under
     
    1413$begin mul_eq.cpp$$
    1514
    16 $section AD Computed Assignment Multiplication: Example and Test$$
     15$section AD Compound Assignment Multiplication: Example and Test$$
    1716$mindex *= multiply assign plus add$$
    1817
     
    4948        y[0] *= 2;           // AD<double> *= int
    5049        y[0] *= 4.;          // AD<double> *= double
    51         y[1] = y[0] *= x[0]; // use the result of a computed assignment
     50        y[1] = y[0] *= x[0]; // use the result of a compound assignment
    5251
    5352        // create f: x -> y and stop tape recording
  • trunk/example/numeric_type.cpp

    r3788 r3864  
    1 // $Id$
    21/* --------------------------------------------------------------------------
    3 CppAD: C++ Algorithmic Differentiation: Copyright (C) 2003-16 Bradley M. Bell
     2CppAD: C++ Algorithmic Differentiation: Copyright (C) 2003-17 Bradley M. Bell
    43
    54CppAD is distributed under multiple licenses. This distribution is under
     
    8584                        return y;
    8685                }
    87                 // computed assignment addition
     86                // compound assignment addition
    8887                void operator += (const MyType &x)
    8988                {       d += x.d; }
    90                 // computed assignment subtraction
     89                // compound assignment subtraction
    9190                void operator -= (const MyType &x)
    9291                {       d -= x.d; }
    93                 // computed assignment multiplication
     92                // compound assignment multiplication
    9493                void operator *= (const MyType &x)
    9594                {       d *= x.d; }
    96                 // computed assignment division
     95                // compound assignment division
    9796                void operator /= (const MyType &x)
    9897                {       d /= x.d; }
  • trunk/example/sub_eq.cpp

    r3856 r3864  
    1 // $Id$
    21/* --------------------------------------------------------------------------
    3 CppAD: C++ Algorithmic Differentiation: Copyright (C) 2003-16 Bradley M. Bell
     2CppAD: C++ Algorithmic Differentiation: Copyright (C) 2003-17 Bradley M. Bell
    43
    54CppAD is distributed under multiple licenses. This distribution is under
     
    1413$begin sub_eq.cpp$$
    1514
    16 $section AD Computed Assignment Subtraction: Example and Test$$
     15$section AD Compound Assignment Subtraction: Example and Test$$
    1716$mindex -= subtract assign plus add$$
    1817
     
    4948        y[0] -= 2;           // AD<double> -= int
    5049        y[0] -= 4.;          // AD<double> -= double
    51         y[1] = y[0] -= x[0]; // use the result of a computed assignment
     50        y[1] = y[0] -= x[0]; // use the result of a compound assignment
    5251
    5352        // create f: x -> y and stop tape recording
  • trunk/makefile.am

    r3854 r3864  
    1 # $Id$
    21# -----------------------------------------------------------------------------
    3 # CppAD: C++ Algorithmic Differentiation: Copyright (C) 2003-16 Bradley M. Bell
     2# CppAD: C++ Algorithmic Differentiation: Copyright (C) 2003-17 Bradley M. Bell
    43#
    54# CppAD is distributed under multiple licenses. This distribution is under
     
    123122        cppad/core/checkpoint.hpp \
    124123        cppad/core/compare.hpp \
    125         cppad/core/compute_assign.hpp \
     124        cppad/core/compound_assign.hpp \
    126125        cppad/core/cond_exp.hpp \
    127126        cppad/core/convert.hpp \
  • trunk/makefile.in

    r3854 r3864  
    517517        cppad/core/checkpoint.hpp \
    518518        cppad/core/compare.hpp \
    519         cppad/core/compute_assign.hpp \
     519        cppad/core/compound_assign.hpp \
    520520        cppad/core/cond_exp.hpp \
    521521        cppad/core/convert.hpp \
  • trunk/omh/install/download.omh

    r3859 r3864  
    9696$rnext
    9797current  $cnext EPL $cnext $href%
    98 http://www.coin-or.org/download/source/CppAD/cppad-20170101.epl.tgz%
    99 cppad-20170101.epl.tgz%$$
     98http://www.coin-or.org/download/source/CppAD/cppad-20170117.epl.tgz%
     99cppad-20170117.epl.tgz%$$
    100100$rnext
    101101current  $cnext GPL $cnext $href%
    102 http://www.coin-or.org/download/source/CppAD/cppad-20170101.gpl.tgz%
    103 cppad-20170101.gpl.tgz%$$
     102http://www.coin-or.org/download/source/CppAD/cppad-20170117.gpl.tgz%
     103cppad-20170117.gpl.tgz%$$
    104104$tend
    105105
  • trunk/omh/numeric_type.omh

    r3757 r3864  
    1 $Id$
    21/* --------------------------------------------------------------------------
    3 CppAD: C++ Algorithmic Differentiation: Copyright (C) 2003-15 Bradley M. Bell
     2CppAD: C++ Algorithmic Differentiation: Copyright (C) 2003-17 Bradley M. Bell
    43
    54CppAD is distributed under multiple licenses. This distribution is under
     
    9695$icode%x% /  %y%$$  $cnext binary division                   $cnext
    9796        $icode NumericType$$    $rnext
    98 $icode%z% += %y%$$  $cnext computed assignment addition       $cnext
     97$icode%z% += %y%$$  $cnext compound assignment addition       $cnext
    9998        unspecified          $rnext
    100 $icode%z% -= %y%$$  $cnext computed assignment subtraction    $cnext
     99$icode%z% -= %y%$$  $cnext compound assignment subtraction    $cnext
    101100        unspecified          $rnext
    102 $icode%z% *= %y%$$  $cnext computed assignment multiplication $cnext
     101$icode%z% *= %y%$$  $cnext compound assignment multiplication $cnext
    103102        unspecified          $rnext
    104 $icode%z% /= %y%$$  $cnext computed assignment division       $cnext
     103$icode%z% /= %y%$$  $cnext compound assignment division       $cnext
    105104        unspecified
    106105$tend
  • trunk/omh/whats_new/whats_new.omh

    r3782 r3864  
    1 $Id$
    21/* --------------------------------------------------------------------------
    3 CppAD: C++ Algorithmic Differentiation: Copyright (C) 2003-16 Bradley M. Bell
     2CppAD: C++ Algorithmic Differentiation: Copyright (C) 2003-17 Bradley M. Bell
    43
    54CppAD is distributed under multiple licenses. This distribution is under
     
    2827
    2928$children%
     29        omh/whats_new/whats_new_17.omh%
    3030        omh/whats_new/whats_new_16.omh%
    3131        omh/whats_new/whats_new_15.omh%
     
    4545
    4646$head This Year$$
    47 $cref whats_new_16$$
     47$cref whats_new_17$$
    4848
    4949$head Previous Years$$
     50$cref whats_new_16$$
    5051$cref whats_new_15$$
    5152$cref whats_new_14$$
  • trunk/omh/whats_new/whats_new_03.omh

    r3686 r3864  
    1 $Id$
    21/* --------------------------------------------------------------------------
    3 CppAD: C++ Algorithmic Differentiation: Copyright (C) 2003-15 Bradley M. Bell
     2CppAD: C++ Algorithmic Differentiation: Copyright (C) 2003-17 Bradley M. Bell
    43
    54CppAD is distributed under multiple licenses. This distribution is under
     
    669668$head 08-01$$
    670669The
    671 $cref/computed assignment/Arithmetic/$$ operators were added
     670$cref/compound assignment/Arithmetic/$$ operators were added
    672671to the $code AD$$ template class.
    673672$pre
  • trunk/omh/whats_new/whats_new_04.omh

    r3757 r3864  
    1 $Id$
    21/* --------------------------------------------------------------------------
    3 CppAD: C++ Algorithmic Differentiation: Copyright (C) 2003-15 Bradley M. Bell
     2CppAD: C++ Algorithmic Differentiation: Copyright (C) 2003-17 Bradley M. Bell
    43
    54CppAD is distributed under multiple licenses. This distribution is under
     
    690689
    691690$head 04-19$$
    692 The $cref/+=/compute_assign/$$ operator did not function correctly
     691The $cref/+=/compound_assign/$$ operator did not function correctly
    693692when the left hand operand was a
    694693$cref/parameter/glossary/Parameter/$$
  • trunk/omh/whats_new/whats_new_05.omh

    r3845 r3864  
    1 $Id$
    21/* --------------------------------------------------------------------------
    3 CppAD: C++ Algorithmic Differentiation: Copyright (C) 2003-16 Bradley M. Bell
     2CppAD: C++ Algorithmic Differentiation: Copyright (C) 2003-17 Bradley M. Bell
    43
    54CppAD is distributed under multiple licenses. This distribution is under
     
    814813amount of time. It was reorganized in order to make it faster.
    815814The profiling indicated an improvement so that same change was made
    816 to the $cref ad_binary$$ and $cref compute_assign$$ operators.
     815to the $cref ad_binary$$ and $cref compound_assign$$ operators.
    817816
    818817
  • trunk/omh/whats_new/whats_new_06.omh

    r3768 r3864  
    1 $Id$
    21/* --------------------------------------------------------------------------
    3 CppAD: C++ Algorithmic Differentiation: Copyright (C) 2003-15 Bradley M. Bell
     2CppAD: C++ Algorithmic Differentiation: Copyright (C) 2003-17 Bradley M. Bell
    43
    54CppAD is distributed under multiple licenses. This distribution is under
     
    947946$cref UnaryMinus$$,
    948947$cref ad_binary$$,
    949 $cref compute_assign$$, and
     948$cref compound_assign$$, and
    950949$cref unary_standard_math$$
    951950
     
    10821081$head 02-24$$
    10831082The documentation and examples have been improved for the following sections:
    1084 $cref/division/ad_binary/$$, $cref/-=/compute_assign/$$, $cref/*=/compute_assign/$$, and $cref%/=%compute_assign%$$.
     1083$cref/division/ad_binary/$$, $cref/-=/compound_assign/$$, $cref/*=/compound_assign/$$, and $cref%/=%compound_assign%$$.
    10851084
    10861085$head 02-23$$
     
    11031102
    11041103$head 02-15$$
    1105 The $cref/+=/compute_assign/$$ documentation and example have been improved.
     1104The $cref/+=/compound_assign/$$ documentation and example have been improved.
    11061105
    11071106$head 02-14$$
     
    11101109
    11111110$head 02-13$$
    1112 Combine the old binary operator and computed assignment documentation
     1111Combine the old binary operator and compound assignment documentation
    11131112into $cref Arithmetic$$ documentation.
    11141113$pre
  • trunk/omh/whats_new/whats_new_07.omh

    r3799 r3864  
    1 $Id$
    21/* --------------------------------------------------------------------------
    3 CppAD: C++ Algorithmic Differentiation: Copyright (C) 2003-16 Bradley M. Bell
     2CppAD: C++ Algorithmic Differentiation: Copyright (C) 2003-17 Bradley M. Bell
    43
    54CppAD is distributed under multiple licenses. This distribution is under
     
    589588$head 05-26$$
    590589If the $icode Base$$ type is not $code double$$,
    591 the $cref/computed assignment/compute_assign/$$ operators did not
     590the $cref/compound assignment/compound_assign/$$ operators did not
    592591always allow for $code double$$ operands. For example,
    593592if $icode x$$ had type $code AD< AD<double> >$$
     
    614613
    615614$$
    616 The documentation for all the $cref/computed assignment/compute_assign/$$
     615The documentation for all the $cref/compound assignment/compound_assign/$$
    617616operators has been grouped together.
    618617In addition, a
    619 computed assignment wish list item has been added
     618compound assignment wish list item has been added
    620619(it was completed and removed with the
    621620$cref/05-26/whats_new_07/05-26/$$ update.)
  • trunk/omh/whats_new/whats_new_08.omh

    r3768 r3864  
    1 $Id$
    21/* --------------------------------------------------------------------------
    3 CppAD: C++ Algorithmic Differentiation: Copyright (C) 2003-15 Bradley M. Bell
     2CppAD: C++ Algorithmic Differentiation: Copyright (C) 2003-17 Bradley M. Bell
    43
    54CppAD is distributed under multiple licenses. This distribution is under
     
    393392
    394393$$
    395 Remove computed assignment entry from wish list
     394Remove compound assignment entry from wish list
    396395(it was fixed on $cref/2007-05-26/whats_new_07/05-26/$$).
    397396Add an expression hashing entry to the $cref wish_list$$
  • trunk/test_more/mul_level.cpp

    r3779 r3864  
    1 // $Id$
    21/* --------------------------------------------------------------------------
    3 CppAD: C++ Algorithmic Differentiation: Copyright (C) 2003-15 Bradley M. Bell
     2CppAD: C++ Algorithmic Differentiation: Copyright (C) 2003-17 Bradley M. Bell
    43
    54CppAD is distributed under multiple licenses. This distribution is under
     
    9493                sum += x[i] * x[i];
    9594
    96         // check computed assignment AD< AD<double> > -= int
     95        // check compound assignment AD< AD<double> > -= int
    9796        sum -= 1;
    9897
Note: See TracChangeset for help on using the changeset viewer.