Stan Math Library
4.9.0
Automatic Differentiation
|
|
inline |
Return the base raised to the power of the exponent (cmath).
For matrices this is performed elementwise.
Mat1 | An Eigen type deriving from Eigen::EigenBase or a var_value with inner Eigen type as defined above. The scalar_type must be a var or Arithmetic. |
Scal1 | An arithmetic type or a var_value with inner arithmetic type. |
base | Base variable. |
exponent | Exponent variable. |