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
6
7namespace stan {
8namespace math {
9
18template <typename T, require_matrix_t<T>* = nullptr>
19inline int rows(const T& m) {
20 return m.rows();
21}
22
23} // namespace math
24} // namespace stan
25
26#endif
int rows(const T_x &x)
Returns the number of rows in the specified kernel generator expression.
Definition rows.hpp:21
The lgamma implementation in stan-math is based on either the reentrant safe lgamma_r implementation ...
Definition fvar.hpp:9