Stan Math Library
5.0.0
Automatic Differentiation
Loading...
Searching...
No Matches
transpose.hpp
Go to the documentation of this file.
1
#ifndef STAN_MATH_PRIM_FUN_TRANSPOSE_HPP
2
#define STAN_MATH_PRIM_FUN_TRANSPOSE_HPP
3
4
#include <
stan/math/prim/meta.hpp
>
5
#include <
stan/math/prim/fun/Eigen.hpp
>
6
7
namespace
stan
{
8
namespace
math {
9
16
template
<
typename
T, require_matrix_t<T>* =
nullptr
>
17
auto
inline
transpose
(
const
T& m) {
18
return
m.transpose();
19
}
20
21
}
// namespace math
22
}
// namespace stan
23
#endif
Eigen.hpp
stan::math::transpose
auto transpose(Arg &&a)
Transposes a kernel generator expression.
Definition
transpose.hpp:139
stan
The lgamma implementation in stan-math is based on either the reentrant safe lgamma_r implementation ...
Definition
unit_vector_constrain.hpp:15
meta.hpp
stan
math
prim
fun
transpose.hpp
[
Stan Home Page
]
© 2011–2019, Stan Development Team.