Stan Math Library
4.9.0
Automatic Differentiation
Loading...
Searching...
No Matches
rows.hpp
Go to the documentation of this file.
1
#ifndef STAN_MATH_PRIM_FUN_ROWS_HPP
2
#define STAN_MATH_PRIM_FUN_ROWS_HPP
3
4
#include <
stan/math/prim/fun/Eigen.hpp
>
5
#include <
stan/math/prim/meta.hpp
>
6
7
namespace
stan
{
8
namespace
math {
9
18
template
<
typename
T, require_matrix_t<T>* =
nullptr
>
19
inline
int
rows
(
const
T& m) {
20
return
m.rows();
21
}
22
23
}
// namespace math
24
}
// namespace stan
25
26
#endif
Eigen.hpp
stan::math::rows
int rows(const T_x &x)
Returns the number of rows in the specified kernel generator expression.
Definition
rows.hpp:21
stan
The lgamma implementation in stan-math is based on either the reentrant safe lgamma_r implementation ...
Definition
fvar.hpp:9
meta.hpp
stan
math
prim
fun
rows.hpp
[
Stan Home Page
]
© 2011–2019, Stan Development Team.