![]() |
Stan Math Library
2.15.0
reverse mode automatic differentiation
|
#include <boost/math/tools/promotion.hpp>
#include <stan/math/prim/scal/err/check_size_match.hpp>
#include <stan/math/prim/scal/err/invalid_argument.hpp>
#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 , int R, int C> | |
Eigen::Matrix< T, Eigen::Dynamic, Eigen::Dynamic > | stan::math::to_matrix (const Eigen::Matrix< T, R, C > &x) |
Returns a matrix with dynamic dimensions constructed from an Eigen matrix which is either a row vector, column vector, or matrix. More... | |
template<typename T > | |
Eigen::Matrix< T, Eigen::Dynamic, Eigen::Dynamic > | stan::math::to_matrix (const std::vector< Eigen::Matrix< T, 1, Eigen::Dynamic > > &x) |
Returns a matrix representation of a standard vector of Eigen row vectors with the same dimensions and indexing order. More... | |
template<typename T > | |
Eigen::Matrix< typename boost::math::tools::promote_args< T, double >::type, Eigen::Dynamic, Eigen::Dynamic > | stan::math::to_matrix (const std::vector< std::vector< T > > &x) |
Returns a matrix representation of the standard vector of standard vectors with the same dimensions and indexing order. More... | |
template<typename T , int R, int C> | |
Eigen::Matrix< T, Eigen::Dynamic, Eigen::Dynamic > | stan::math::to_matrix (const Eigen::Matrix< T, R, C > &x, int m, int n) |
Returns a matrix representation of the vector in column-major order with the specified number of rows and columns. More... | |
template<typename T > | |
Eigen::Matrix< T, Eigen::Dynamic, Eigen::Dynamic > | stan::math::to_matrix (const std::vector< T > &x, int m, int n) |
Returns a matrix representation of the vector in column-major order with the specified number of rows and columns. More... | |
Eigen::Matrix< double, Eigen::Dynamic, Eigen::Dynamic > | stan::math::to_matrix (const std::vector< int > &x, int m, int n) |
Returns a matrix representation of the vector in column-major order with the specified number of rows and columns. More... | |
template<typename T , int R, int C> | |
Eigen::Matrix< T, Eigen::Dynamic, Eigen::Dynamic > | stan::math::to_matrix (const Eigen::Matrix< T, R, C > &x, int m, int n, bool col_major) |
Returns a matrix representation of the vector in column-major order with the specified number of rows and columns. More... | |
template<typename T > | |
Eigen::Matrix< typename boost::math::tools::promote_args< T, double >::type, Eigen::Dynamic, Eigen::Dynamic > | stan::math::to_matrix (const std::vector< T > &x, int m, int n, bool col_major) |
Returns a matrix representation of the vector in column-major order with the specified number of rows and columns. More... | |