Automatic Differentiation
 
Loading...
Searching...
No Matches

◆ as_value_column_array_or_scalar()

template<typename T >
auto stan::math::as_value_column_array_or_scalar ( T &&  a)
inline

Extract the value from an object and for eigen vectors and std::vectors convert to an eigen column array and for scalars return a scalar.

Template Parameters
TA stan scalar, eigen vector, or std::vector.
Parameters
aSpecified scalar.
Returns
the scalar.

Definition at line 22 of file as_value_column_array_or_scalar.hpp.