Automatic Differentiation
 
Loading...
Searching...
No Matches

◆ divide() [8/8]

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 
)
inline

Return a matrix divided by a matrix elementwise.

Template Parameters
Mat1Either a type inheriting from EigenBase or a var_value<T> with type T inheriting from EigenBase.
Mat2Either a type inheriting from EigenBase or a var_value<T> with type T inheriting from EigenBase.
Parameters
[in]m1specified matrix or expression
[in]m2specified matrix or expression

Definition at line 215 of file operator_division.hpp.