Stan Math Library  2.20.0
reverse mode automatic differentiation
Namespaces | Functions
as_column_vector_or_scalar.hpp File Reference
#include <stan/math/prim/mat/fun/Eigen.hpp>
#include <vector>

Go to the source code of this file.

Namespaces

 stan
 
 stan::math
 Matrices and templated mathematical functions.
 

Functions

template<typename T >
const Eigen::Matrix< T, Eigen::Dynamic, 1 > & stan::math::as_column_vector_or_scalar (const Eigen::Matrix< T, Eigen::Dynamic, 1 > &a)
 Converts input argument to a column vector or a scalar. More...
 
template<typename T >
Eigen::Map< const Eigen::Matrix< T, Eigen::Dynamic, 1 > > stan::math::as_column_vector_or_scalar (const Eigen::Matrix< T, 1, Eigen::Dynamic > &a)
 Converts input argument to a column vector or a scalar. More...
 
template<typename T >
Eigen::Map< const Eigen::Matrix< T, Eigen::Dynamic, 1 > > stan::math::as_column_vector_or_scalar (const std::vector< T > &a)
 Converts input argument to a column vector or a scalar. More...
 

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