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

◆ ldexp() [1/6]

template<typename T >
fvar< T > stan::math::ldexp ( const fvar< T > &  a,
int  b 
)
inline

Returns the product of a (the significand) times 2 to power b (the exponent).

Template Parameters
Tinner type of the fvar
Parameters
[in]athe significand
[in]ban integer that is the exponent
Returns
product of a times 2 to the power b

Definition at line 21 of file ldexp.hpp.