Stan Math Library
4.9.0
Automatic Differentiation
|
#include <stan/math/prim/fun/Eigen.hpp>
#include <stan/math/prim/fun/cosh.hpp>
#include <stan/math/prim/fun/exp.hpp>
#include <stan/math/prim/fun/sinh.hpp>
#include <stan/math/prim/fun/sqrt.hpp>
#include <stan/math/prim/fun/square.hpp>
#include <cmath>
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 EigMat , require_eigen_t< EigMat > * = nullptr> | |
Eigen::Matrix< value_type_t< EigMat >, Eigen::Dynamic, Eigen::Dynamic > | stan::math::matrix_exp_2x2 (const EigMat &A) |
Return the matrix exponential of a 2x2 matrix. | |