![]() |
Stan
1.3
probability, sampling & optimization
|
#include <vector>#include <boost/math/tools/promotion.hpp>#include <stan/math/matrix/Eigen.hpp>#include <stan/math/matrix/typedefs.hpp>#include <stan/math/matrix/validate_multiplicable.hpp>#include <stan/math/matrix/validate_matching_sizes.hpp>#include <stan/math/matrix/validate_square.hpp>#include <stan/agrad/rev/var.hpp>#include <stan/agrad/rev/matrix/typedefs.hpp>#include <stan/agrad/rev/matrix/to_var.hpp>#include <stan/agrad/rev/matrix/dot_product.hpp>#include <stan/agrad/rev/operator_multiplication.hpp>Go to the source code of this file.
Namespaces | |
| namespace | stan |
| Probability, optimization and sampling library. | |
| namespace | stan::agrad |
| Function gradients via reverse-mode automatic differentiation. | |
Functions | |
| template<typename T1 , typename T2 > | |
| boost::math::tools::promote_args < T1, T2 >::type | stan::agrad::multiply (const T1 &v, const T2 &c) |
| Return the product of two scalars. | |
| template<typename T1 , typename T2 , int R2, int C2> | |
| Eigen::Matrix< var, R2, C2 > | stan::agrad::multiply (const T1 &c, const Eigen::Matrix< T2, R2, C2 > &m) |
| Return the product of scalar and matrix. | |
| template<typename T1 , int R1, int C1, typename T2 > | |
| Eigen::Matrix< var, R1, C1 > | stan::agrad::multiply (const Eigen::Matrix< T1, R1, C1 > &m, const T2 &c) |
| Return the product of scalar and matrix. | |
| template<int R1, int C1, int R2, int C2> | |
| Eigen::Matrix< var, R1, C2 > | stan::agrad::multiply (const Eigen::Matrix< var, R1, C1 > &m1, const Eigen::Matrix< var, R2, C2 > &m2) |
| Return the product of the specified matrices. | |
| template<int R1, int C1, int R2, int C2> | |
| Eigen::Matrix< var, R1, C2 > | stan::agrad::multiply (const Eigen::Matrix< double, R1, C1 > &m1, const Eigen::Matrix< var, R2, C2 > &m2) |
| Return the product of the specified matrices. | |
| template<int R1, int C1, int R2, int C2> | |
| Eigen::Matrix< var, R1, C2 > | stan::agrad::multiply (const Eigen::Matrix< var, R1, C1 > &m1, const Eigen::Matrix< double, R2, C2 > &m2) |
| Return the product of the specified matrices. | |
| template<int C1, int R2> | |
| var | stan::agrad::multiply (const Eigen::Matrix< var, 1, C1 > &rv, const Eigen::Matrix< var, R2, 1 > &v) |
| Return the scalar product of the specified row vector and specified column vector. | |
| template<int C1, int R2> | |
| var | stan::agrad::multiply (const Eigen::Matrix< double, 1, C1 > &rv, const Eigen::Matrix< var, R2, 1 > &v) |
| Return the scalar product of the specified row vector and specified column vector. | |
| template<int C1, int R2> | |
| var | stan::agrad::multiply (const Eigen::Matrix< var, 1, C1 > &rv, const Eigen::Matrix< double, R2, 1 > &v) |
| Return the scalar product of the specified row vector and specified column vector. | |