Stan  1.3
probability, sampling & optimization
 All Classes Namespaces Files Functions Variables Typedefs Enumerator Friends Macros Pages
crossprod.hpp
Go to the documentation of this file.
1 #ifndef __STAN__MATH__MATRIX__CROSSPROD_HPP__
2 #define __STAN__MATH__MATRIX__CROSSPROD_HPP__
3 
6 
7 namespace stan {
8  namespace math {
9 
16  inline matrix_d
17  crossprod(const matrix_d& M) {
18  return tcrossprod(M.transpose());
19  }
20 
21  }
22 }
23 #endif

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