Automatic Differentiation
 
Loading...
Searching...
No Matches

◆ operator-=() [1/2]

template<typename T >
var_value< T > & stan::math::var_value< T, require_floating_point_t< T > >::operator-= ( const var_value< T > &  b)
inline

The compound subtract/assignment operator for variables (C++).

If this variable is a and the argument is the variable b, then (a -= b) behaves exactly the same way as (a = a - b). Note that the result is an assignable lvalue.

Parameters
bThe variable to subtract from this variable.
Returns
The result of subtracting the specified variable from this variable.

Definition at line 12 of file operator_minus_equal.hpp.