Automatic Differentiation
 
Loading...
Searching...
No Matches
as_column_vector_or_scalar.hpp File Reference
#include <stan/math/prim/fun/Eigen.hpp>
#include <stan/math/prim/meta.hpp>
#include <vector>

Go to the source code of this file.

Namespaces

namespace  stan
 The lgamma implementation in stan-math is based on either the reentrant safe lgamma_r implementation from C or the boost::math::lgamma implementation.
 
namespace  stan::math
 Matrices and templated mathematical functions.
 
namespace  stan::math::internal
 A comparator that works for any container type that has the brackets operator.
 

Functions

template<typename T , require_stan_scalar_t< T > * = nullptr>
stan::math::as_column_vector_or_scalar (const T &a)
 no-op that passes the scalar
 
template<typename T , typename S >
internal::empty_broadcast_array< T, S, void > & stan::math::as_column_vector_or_scalar (internal::empty_broadcast_array< T, S, void > &a)
 No-op used when working with operands and partials.
 
template<typename T , require_eigen_col_vector_t< T > * = nullptr>
T && stan::math::as_column_vector_or_scalar (T &&a)
 no-op that returns a column vector.
 
template<typename T , require_eigen_row_vector_t< T > * = nullptr, require_not_eigen_col_vector_t< T > * = nullptr>
auto stan::math::as_column_vector_or_scalar (T &&a)
 Converts a row vector to an eigen column vector.
 
template<typename T , require_all_kernel_expressions_and_none_scalar_t< T > * = nullptr>
auto stan::math::as_column_vector_or_scalar (T &&a)
 as_column_vector_or_scalar of a kernel generator expression.