Automatic Differentiation
 
Loading...
Searching...
No Matches
apply_scalar_ternary.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 F , typename T1 , typename T2 , typename T3 , require_all_stan_scalar_t< T1, T2, T3 > * = nullptr>
auto stan::math::apply_scalar_ternary (const F &f, const T1 &x, const T2 &y, const T3 &z)
 Base template function for vectorization of ternary scalar functions defined by applying a functor to a combination of scalars, containers of matching sizes, or a combination of a scalar and a container.
 
template<typename F , typename T1 , typename T2 , typename T3 , require_all_eigen_t< T1, T2, T3 > * = nullptr>
auto stan::math::apply_scalar_ternary (F &&f, T1 &&x, T2 &&y, T3 &&z)
 Specialization for use with three Eigen inputs.
 
template<typename F , typename T1 , typename T2 , typename T3 , require_any_container_t< T1, T2 > * = nullptr, require_stan_scalar_t< T3 > * = nullptr>
auto stan::math::apply_scalar_ternary (const F &f, const T1 &x, const T2 &y, const T3 &z)
 Specialization for use where the third argument is a scalar.