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

◆ resize()

template<typename T >
void stan::math::resize ( T &  x,
std::vector< int >  dims 
)
inline

Recursively resize the specified vector of vectors, which must bottom out at scalar values, Eigen vectors or Eigen matrices.

Template Parameters
Ttype of object being resized
Parameters
xArray-like object to resize.
dimsNew dimensions.

Definition at line 43 of file resize.hpp.