Stan Math Library
4.9.0
Automatic Differentiation
|
#include <stan/math/prim/fun/as_column_vector_or_scalar.hpp>
#include <stan/math/prim/meta/is_stan_scalar.hpp>
#include <stan/math/prim/meta/is_container.hpp>
#include <stan/math/prim/meta/is_eigen.hpp>
#include <stan/math/prim/meta/require_generics.hpp>
#include <stan/math/prim/err/check_matching_dims.hpp>
#include <stan/math/prim/err/check_matching_sizes.hpp>
#include <stan/math/prim/fun/num_elements.hpp>
#include <vector>
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. | |