Automatic Differentiation
 
Loading...
Searching...
No Matches
apply_scalar_binary.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 F , require_std_vector_vt< is_stan_scalar, T1 > * = nullptr, require_stan_scalar_t< T2 > * = nullptr>
auto stan::math::apply_scalar_binary (const T1 &x, const T2 &y, const F &f)
 Specialization for use when the first input is a (non-nested) std::vector and the second is a scalar.
 
template<typename T1 , typename T2 , typename F , require_eigen_matrix_dynamic_vt< is_stan_scalar, T1 > * = nullptr, require_std_vector_vt< is_std_vector, T2 > * = nullptr, require_std_vector_st< std::is_integral, T2 > * = nullptr>
auto stan::math::apply_scalar_binary (const T1 &x, const T2 &y, const F &f)
 Specialization for use with one Eigen matrix and a two-dimensional std::vector of integer types.