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

◆ subtract() [9/15]

template<typename Arith , typename VarMat , require_st_arithmetic< Arith > * = nullptr, require_rev_matrix_t< VarMat > * = nullptr>
auto stan::math::subtract ( const Arith &  a,
const VarMat &  b 
)
inline

Subtraction operator for an arithmetic type and matrix variable.

Template Parameters
VarMatA matrix of vars or a var with an underlying matrix type.
ArithA type with an arithmetic Scalar type.
Parameters
aFirst variable operand.
bSecond variable operand.
Returns
Variable result of subtracting two variables.

Definition at line 175 of file operator_subtraction.hpp.