Stan  2.10.0
probability, sampling & optimization
Namespaces | Functions
deep_copy.hpp File Reference
#include <Eigen/Dense>
#include <vector>

Go to the source code of this file.

Namespaces

 stan
 Probability, optimization and sampling library.
 
 stan::model
 For compiling models.
 

Functions

template<typename T >
const T & stan::model::deep_copy (const T &x)
 Return the specified argument as a constant reference. More...
 
template<typename T , int R, int C>
Eigen::Matrix< T, R, C > stan::model::deep_copy (const Eigen::Matrix< T, R, C > &a)
 Return a copy of the specified matrix, vector, or row vector. More...
 
template<typename T >
std::vector< T > stan::model::deep_copy (const std::vector< T > &v)
 Return a deep copy of the specified standard vector. More...
 

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