![]() |
Stan Math Library
2.11.0
reverse mode automatic differentiation
|
#include <boost/math/tools/promotion.hpp>#include <stan/math/prim/mat/fun/Eigen.hpp>#include <stan/math/prim/mat/err/check_matching_dims.hpp>Go to the source code of this file.
Namespaces | |
| stan | |
| stan::math | |
| Matrices and templated mathematical functions. | |
Functions | |
| template<typename T1 , typename T2 , int R, int C> | |
| Eigen::Matrix< typename boost::math::tools::promote_args< T1, T2 >::type, R, C > | stan::math::subtract (const Eigen::Matrix< T1, R, C > &m1, const Eigen::Matrix< T2, R, C > &m2) |
| Return the result of subtracting the second specified matrix from the first specified matrix. More... | |
| template<typename T1 , typename T2 , int R, int C> | |
| Eigen::Matrix< typename boost::math::tools::promote_args< T1, T2 >::type, R, C > | stan::math::subtract (const T1 &c, const Eigen::Matrix< T2, R, C > &m) |
| template<typename T1 , typename T2 , int R, int C> | |
| Eigen::Matrix< typename boost::math::tools::promote_args< T1, T2 >::type, R, C > | stan::math::subtract (const Eigen::Matrix< T1, R, C > &m, const T2 &c) |