Automatic Differentiation
 
Loading...
Searching...
No Matches
initialize_variable.hpp File Reference
#include <stan/math/rev/meta.hpp>
#include <stan/math/rev/core.hpp>
#include <stan/math/prim/fun/Eigen.hpp>
#include <vector>

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

void stan::math::initialize_variable (var &variable, const var &value)
 Initialize variable to value.
 
template<int R, int C>
void stan::math::initialize_variable (Eigen::Matrix< var, R, C > &matrix, const var &value)
 Initialize every cell in the matrix to the specified value.
 
template<typename T >
void stan::math::initialize_variable (std::vector< T > &variables, const var &value)
 Initialize the variables in the standard vector recursively.