Automatic Differentiation
 
Loading...
Searching...
No Matches
to_var.hpp File Reference

Go to the source code of this file.

Namespaces

namespace  stan
 The lgamma implementation in stan-math is based on either the reentrant safe lgamma_r implementation from C or the boost::math::lgamma implementation.
 
namespace  stan::math
 Matrices and templated mathematical functions.
 

Functions

var stan::math::to_var (double x)
 Converts argument to an automatic differentiation variable.
 
varstan::math::to_var (var &x)
 Specialization of to_var for non-const var input.
 
const varstan::math::to_var (const var &x)
 Specialization of to_var for const var input.
 
std::vector< varstan::math::to_var (const std::vector< double > &v)
 Converts argument to an automatic differentiation variable.
 
const std::vector< var > & stan::math::to_var (const std::vector< var > &v)
 Specialization of to_var to for const input vector of var.
 
std::vector< var > & stan::math::to_var (std::vector< var > &v)
 Specialization of to_var to for non-const input vector of var.
 
matrix_v stan::math::to_var (const matrix_d &m)
 Converts argument to an automatic differentiation variable.
 
matrix_vstan::math::to_var (matrix_v &m)
 Specialization of to_var for non-const matrices of vars.
 
const matrix_vstan::math::to_var (const matrix_v &m)
 Specialization of to_var for const matrices of vars.
 
vector_v stan::math::to_var (const vector_d &v)
 Converts argument to an automatic differentiation variable.
 
const vector_vstan::math::to_var (const vector_v &v)
 Specialization of to_var for const column vector of vars.
 
vector_vstan::math::to_var (vector_v &v)
 Specialization of to_var for non-const column vector of vars.
 
row_vector_v stan::math::to_var (const row_vector_d &rv)
 Converts argument to an automatic differentiation variable.
 
const row_vector_vstan::math::to_var (const row_vector_v &rv)
 Specialization of to_var for const row vector of vars.
 
row_vector_vstan::math::to_var (row_vector_v &rv)
 Specialization of to_var for non-const row vector of vars.