All Classes Namespaces Files Functions Variables Typedefs Enumerator Friends Macros
size.hpp
Go to the documentation of this file.
#ifndef STAN_MATH_PRIM_MAT_FUN_SIZE_HPP
#define STAN_MATH_PRIM_MAT_FUN_SIZE_HPP
#include <vector>
namespace stan {
namespace math {
template <typename T>
inline int
size(const std::vector<T>& x) {
return x.size();
}
}
}
#endif
stan::math::size
int size(const std::vector< T > &x)
Definition: size.hpp:11

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