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

◆ operator*=() [2/2]

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

The compound multiply/assignment operator for scalars (C++).

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

Parameters
bThe scalar to multiply this variable by.
Returns
The result of multiplying this variable by the specified variable.

Definition at line 19 of file operator_multiply_equal.hpp.