Automatic Differentiation
 
Loading...
Searching...
No Matches
resize.hpp File Reference
#include <stan/math/prim/fun/Eigen.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 , int R, int C>
void stan::math::internal::resize (Eigen::Matrix< T, R, C > &x, const std::vector< int > &dims, int pos)
 
template<typename T >
void stan::math::internal::resize (T, const std::vector< int > &, int)
 
template<typename T >
void stan::math::internal::resize (std::vector< T > &x, const std::vector< int > &dims, int pos)
 
template<typename T >
void stan::math::resize (T &x, std::vector< int > dims)
 Recursively resize the specified vector of vectors, which must bottom out at scalar values, Eigen vectors or Eigen matrices.