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

◆ to_var() [7/15]

matrix_v stan::math::to_var ( const matrix_d m)
inline

Converts argument to an automatic differentiation variable.

Returns a var variable with the input value.

Parameters
[in]mA Matrix with scalars
Returns
A Matrix with automatic differentiation variables

Definition at line 84 of file to_var.hpp.