Stan  1.3
probability, sampling & optimization
 All Classes Namespaces Files Functions Variables Typedefs Enumerator Friends Macros Pages
Namespaces | Functions
initialize_variable.hpp File Reference
#include <vector>
#include <stan/math/matrix/Eigen.hpp>
#include <stan/agrad/rev/var.hpp>

Go to the source code of this file.

Namespaces

namespace  stan
 Probability, optimization and sampling library.
 
namespace  stan::agrad
 Function gradients via reverse-mode automatic differentiation.
 

Functions

void stan::agrad::initialize_variable (var &variable, const var &value)
 Initialize variable to value.
 
template<int R, int C>
void stan::agrad::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::agrad::initialize_variable (std::vector< T > &variables, const var &value)
 Initialize the variables in the standard vector recursively.
 

     [ Stan Home Page ] © 2011–2013, Stan Development Team.