Automatic Differentiation
 
Loading...
Searching...
No Matches
rep_matrix.hpp File Reference

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 Ret , typename T , require_eigen_matrix_dynamic_vt< is_stan_scalar, Ret > * = nullptr, require_stan_scalar_t< T > * = nullptr>
auto stan::math::rep_matrix (const T &x, int m, int n)
 Implementation of rep_matrix returning an Eigen matrix with scalar type equal to the input scalar type.
 
template<typename Ret , typename Vec , require_var_matrix_t< Ret > * = nullptr, require_var_matrix_t< Vec > * = nullptr>
auto stan::math::rep_matrix (const Vec &x, int n)
 Impl of rep_matrix returning a var_value<Eigen::Matrix> from a var_value with an inner Eigen vector type.