Automatic Differentiation
 
Loading...
Searching...
No Matches
beta.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

var stan::math::beta (const var &a, const var &b)
 Returns the beta function and gradients for two var inputs.
 
var stan::math::beta (const var &a, double b)
 Returns the beta function and gradient for first var input.
 
var stan::math::beta (double a, const var &b)
 Returns the beta function and gradient for second var input.
 
template<typename Mat1 , typename Mat2 , require_any_var_matrix_t< Mat1, Mat2 > * = nullptr, require_all_matrix_t< Mat1, Mat2 > * = nullptr>
auto stan::math::beta (const Mat1 &a, const Mat2 &b)
 
template<typename Scalar , typename VarMat , require_var_matrix_t< VarMat > * = nullptr, require_stan_scalar_t< Scalar > * = nullptr>
auto stan::math::beta (const Scalar &a, const VarMat &b)
 
template<typename VarMat , typename Scalar , require_var_matrix_t< VarMat > * = nullptr, require_stan_scalar_t< Scalar > * = nullptr>
auto stan::math::beta (const VarMat &a, const Scalar &b)