---------------------------------------------------------------- lines 532-571 of file: include/cppad/example/valvector/class.hpp ---------------------------------------------------------------- {xrst_begin valvector_compound_op} The valvector Numeric Compound Assignment Operators ################################################### Computes the element-by-element result of the numeric compound assignment operators. Syntax ****** | *y* *op* *x* op ** The compound operator *op* is ``+=`` (compound addition) , ``-=`` (compound subtraction), ``*=`` (compound multiplication) , or ``/=`` (compound division) . x * The operand *x* is a ``const`` valvector. y * The operand and result *y* is a valvector. Return ****** The value returned by each of these operators is a reference to *y* . {xrst_toc_hidden example/valvector/compound_op.cpp } Example ======= The file :ref:`valvector_compound_op.cpp-name` is an example and test of the valvector compound assignment operators. {xrst_end valvector_compound_op}