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