Automatic Differentiation
 
Loading...
Searching...
No Matches
append_col.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 T1 , typename T2 , typename = require_all_eigen_t<T1, T2>>
auto stan::math::append_col (const T1 &A, const T2 &B)
 Return the result of appending the second argument matrix after the first argument matrix, that is, putting them side by side, with the first matrix followed by the second matrix.
 
template<typename Scal , typename RowVec , require_stan_scalar_t< Scal > * = nullptr, require_t< is_eigen_row_vector< RowVec > > * = nullptr>
auto stan::math::append_col (const Scal &A, const var_value< RowVec > &B)
 Return the result of stacking an scalar on top of the a row vector, with the result being a row vector.
 
template<typename RowVec , typename Scal , require_t< is_eigen_row_vector< RowVec > > * = nullptr, require_stan_scalar_t< Scal > * = nullptr>
auto stan::math::append_col (const var_value< RowVec > &A, const Scal &B)
 Return the result of stacking a row vector on top of the an scalar, with the result being a row vector.