Stan Math Library
2.14.0
reverse mode automatic differentiation
stan
math
prim
scal
meta
length_mvt.hpp
Go to the documentation of this file.
1
#ifndef STAN_MATH_PRIM_SCAL_META_LENGTH_MVT_HPP
2
#define STAN_MATH_PRIM_SCAL_META_LENGTH_MVT_HPP
3
4
#include <stdexcept>
5
6
namespace
stan
{
7
19
template
<
typename
T>
20
size_t
length_mvt
(
const
T& ) {
21
throw
std::invalid_argument
(
"length_mvt passed to an unrecognized type."
);
22
return
1U;
23
}
24
25
}
26
#endif
27
stan
Definition:
log_sum_exp.hpp:8
stan::math::invalid_argument
void invalid_argument(const char *function, const char *name, const T &y, const char *msg1, const char *msg2)
Throw an invalid_argument exception with a consistently formatted message.
Definition:
invalid_argument.hpp:31
stan::length_mvt
size_t length_mvt(const Eigen::Matrix< T, R, C > &)
Definition:
length_mvt.hpp:12
[
Stan Home Page
]
© 2011–2016, Stan Development Team.