Stan Math Library
5.0.0
Automatic Differentiation
|
#include <stan/math/prim/fun/Eigen.hpp>
#include <stan/math/prim/meta.hpp>
#include <stan/math/prim/core/operator_division.hpp>
#include <stan/math/prim/fun/constants.hpp>
#include <stan/math/prim/fun/is_any_nan.hpp>
#include <stan/math/prim/fun/value_of.hpp>
#include <stan/math/rev/core/var.hpp>
#include <stan/math/rev/core/std_complex.hpp>
#include <stan/math/rev/core/operator_addition.hpp>
#include <stan/math/rev/core/operator_multiplication.hpp>
#include <stan/math/rev/core/operator_subtraction.hpp>
#include <stan/math/rev/fun/to_arena.hpp>
#include <stan/math/rev/fun/value_of.hpp>
#include <complex>
#include <type_traits>
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::operator/ (const var ÷nd, const var &divisor) |
Division operator for two variables (C++). | |
template<typename Arith , require_arithmetic_t< Arith > * = nullptr> | |
var | stan::math::operator/ (const var ÷nd, Arith divisor) |
Division operator for dividing a variable by a scalar (C++). | |
template<typename Arith , require_arithmetic_t< Arith > * = nullptr> | |
var | stan::math::operator/ (Arith dividend, const var &divisor) |
Division operator for dividing a scalar by a variable (C++). | |
template<typename Scalar , typename Mat , require_matrix_t< Mat > * = nullptr, require_stan_scalar_t< Scalar > * = nullptr, require_all_st_var_or_arithmetic< Scalar, Mat > * = nullptr, require_any_st_var< Scalar, Mat > * = nullptr> | |
auto | stan::math::divide (const Mat &m, Scalar c) |
Return matrix divided by scalar. | |
template<typename Scalar , typename Mat , require_matrix_t< Mat > * = nullptr, require_stan_scalar_t< Scalar > * = nullptr, require_all_st_var_or_arithmetic< Scalar, Mat > * = nullptr, require_any_st_var< Scalar, Mat > * = nullptr> | |
auto | stan::math::divide (Scalar c, const Mat &m) |
Return scalar divided by matrix. | |
template<typename Mat1 , typename Mat2 , require_all_matrix_st< is_var_or_arithmetic, Mat1, Mat2 > * = nullptr, require_any_matrix_st< is_var, Mat1, Mat2 > * = nullptr> | |
auto | stan::math::divide (const Mat1 &m1, const Mat2 &m2) |
Return a matrix divided by a matrix elementwise. | |
template<typename T1 , typename T2 , require_any_var_matrix_t< T1, T2 > * = nullptr> | |
auto | stan::math::operator/ (const T1 ÷nd, const T2 &divisor) |
std::complex< var > | stan::math::operator/ (const std::complex< var > &x1, const std::complex< var > &x2) |