Stan  2.5.0
probability, sampling & optimization
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
Namespaces | Functions
containers_conversion.hpp File Reference
#include <stan/math/matrix/Eigen.hpp>
#include <stan/meta/traits.hpp>
#include <vector>

Go to the source code of this file.

Namespaces

 stan
 Probability, optimization and sampling library.
 
 stan::math
 Matrices and templated mathematical functions.
 

Functions

template<typename T , int R, int C>
Matrix< T, Dynamic, Dynamic > stan::math::to_matrix (Matrix< T, R, C > matrix)
 
template<typename T >
Matrix< T, Dynamic, Dynamic > stan::math::to_matrix (const vector< vector< T > > &vec)
 
Matrix< double, Dynamic, Dynamic > stan::math::to_matrix (const vector< vector< int > > &vec)
 
template<typename T , int R, int C>
Matrix< T, Dynamic, 1 > stan::math::to_vector (const Matrix< T, R, C > &matrix)
 
template<typename T >
Matrix< T, Dynamic, 1 > stan::math::to_vector (const vector< T > &vec)
 
Matrix< double, Dynamic, 1 > stan::math::to_vector (const vector< int > &vec)
 
template<typename T , int R, int C>
Matrix< T, 1, Dynamic > stan::math::to_row_vector (const Matrix< T, R, C > &matrix)
 
template<typename T >
Matrix< T, 1, Dynamic > stan::math::to_row_vector (const vector< T > &vec)
 
Matrix< double, 1, Dynamic > stan::math::to_row_vector (const vector< int > &vec)
 
template<typename T >
vector< vector< T > > stan::math::to_array_2d (const Matrix< T, Dynamic, Dynamic > &matrix)
 
template<typename T , int R, int C>
vector< T > stan::math::to_array_1d (const Matrix< T, R, C > &matrix)
 
template<typename T >
vector< T > stan::math::to_array_1d (const vector< T > &x)
 
template<typename T >
vector< typename scalar_type
< T >::type > 
stan::math::to_array_1d (const vector< vector< T > > &x)
 

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