Stan Math Library
5.0.0
Automatic Differentiation
|
#include <stan/math/prim/meta.hpp>
#include <stan/math/prim/err.hpp>
#include <stan/math/prim/fun/matrix_exp.hpp>
#include <stan/math/prim/fun/matrix_exp_action_handler.hpp>
#include <stan/math/prim/fun/multiply.hpp>
Go to the source code of this file.
Namespaces | |
namespace | stan |
The lgamma implementation in stan-math is based on either the reentrant safe lgamma_r implementation from C or the boost::math::lgamma implementation. | |
namespace | stan::math |
Matrices and templated mathematical functions. | |
Functions | |
template<typename EigMat1 , typename EigMat2 , require_all_eigen_vt< std::is_arithmetic, EigMat1, EigMat2 > * = nullptr> | |
Eigen::Matrix< double, Eigen::Dynamic, EigMat2::ColsAtCompileTime > | stan::math::scale_matrix_exp_multiply (const double &t, const EigMat1 &A, const EigMat2 &B) |
Return product of exp(At) and B, where A is a NxN double matrix, B is a NxCb double matrix, and t is a double. | |
template<typename Tt , typename EigMat1 , typename EigMat2 , require_all_eigen_t< EigMat1, EigMat2 > * = nullptr, require_any_autodiff_t< Tt, value_type_t< EigMat1 >, value_type_t< EigMat2 > > * = nullptr> | |
Eigen::Matrix< return_type_t< Tt, EigMat1, EigMat2 >, Eigen::Dynamic, EigMat2::ColsAtCompileTime > | stan::math::scale_matrix_exp_multiply (const Tt &t, const EigMat1 &A, const EigMat2 &B) |
Return product of exp(At) and B, where A is a NxN matrix, B is a NxCb matrix and t is a scalar. | |