transpose.hpp
Go to the documentation of this file.
#ifndef STAN_MATH_PRIM_MAT_FUN_TRANSPOSE_HPP
#define STAN_MATH_PRIM_MAT_FUN_TRANSPOSE_HPP
#include <stan/math/prim/mat/fun/Eigen.hpp>
namespace stan {
namespace math {
template <typename T, int R, int C>
Eigen::Matrix<T, C, R>
inline
transpose(const Eigen::Matrix<T, R, C>& m) {
return m.transpose();
}
}
}
#endif
stan
Definition: log_sum_exp.hpp:8
Eigen.hpp
stan::math::transpose
Eigen::Matrix< T, C, R > transpose(const Eigen::Matrix< T, R, C > &m)
Definition: transpose.hpp:12

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