Automatic Differentiation
 
Loading...
Searching...
No Matches
dims.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.
 

Functions

template<typename T , require_stan_scalar_t< T > * = nullptr>
void stan::math::dims (const T &x, std::vector< int > &result)
 Pushes dimensions of given argument into given result vector.
 
template<typename T , typename Alloc >
void stan::math::dims (const std::vector< T, Alloc > &x, std::vector< int > &result)
 Pushes dimensions of given argument into given result vector.
 
template<typename T >
std::vector< int > stan::math::dims (const T &x)
 Determines dimensions of an argument.