Automatic Differentiation
 
Loading...
Searching...
No Matches
operator_division.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::operator/ (const var &dividend, const var &divisor)
 Division operator for two variables (C++).
 
template<typename Arith , require_arithmetic_t< Arith > * = nullptr>
var stan::math::operator/ (const var &dividend, 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 &dividend, const T2 &divisor)
 
std::complex< varstan::math::operator/ (const std::complex< var > &x1, const std::complex< var > &x2)