Automatic Differentiation
 
Loading...
Searching...
No Matches
scale_matrix_exp_multiply.hpp File Reference

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.