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
6
7namespace stan {
8namespace math {
9
16template <typename T, require_matrix_t<T>* = nullptr>
17auto inline transpose(const T& m) {
18 return m.transpose();
19}
20
21} // namespace math
22} // namespace stan
23#endif
auto transpose(Arg &&a)
Transposes a kernel generator expression.
The lgamma implementation in stan-math is based on either the reentrant safe lgamma_r implementation ...