Stan  2.5.0
probability, sampling & optimization
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
log_determinant.hpp
Go to the documentation of this file.
1 #ifndef STAN__AGRAD__FWD__MATRIX__LOG_DETERMINANT_HPP
2 #define STAN__AGRAD__FWD__MATRIX__LOG_DETERMINANT_HPP
3 
4 #include <vector>
5 #include <boost/math/tools/promotion.hpp>
13 
14 namespace stan {
15  namespace agrad {
16 
17  template<typename T, int R,int C>
18  inline
19  fvar<T>
20  log_determinant(const Eigen::Matrix<fvar<T>, R, C>& m) {
21  stan::math::check_square("log_determinant(%1%)",m,"m",(double*)0);
22 
24  }
25  }
26 }
27 #endif
fvar< T > fabs(const fvar< T > &x)
Definition: fabs.hpp:18
fvar< T > log(const fvar< T > &x)
Definition: log.hpp:15
fvar< T > determinant(const Eigen::Matrix< fvar< T >, R, C > &m)
Definition: determinant.hpp:21
fvar< T > log_determinant(const Eigen::Matrix< fvar< T >, R, C > &m)
bool check_square(const char *function, const Eigen::Matrix< T_y, Eigen::Dynamic, Eigen::Dynamic > &y, const char *name, T_result *result)
Return true if the specified matrix is square.

     [ Stan Home Page ] © 2011–2014, Stan Development Team.