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

◆ to_var() [1/15]

var stan::math::to_var ( double  x)
inline

Converts argument to an automatic differentiation variable.

Returns a var variable with the input value.

Parameters
[in]xA scalar value
Returns
An automatic differentiation variable with the input value.

Definition at line 22 of file to_var.hpp.