Stan
1.3
probability, sampling & optimization
Main Page
Related Pages
Namespaces
Classes
Files
File List
File Members
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerator
Friends
Macros
Pages
src
stan
agrad
rev
matrix
crossprod.hpp
Go to the documentation of this file.
1
#ifndef __STAN__AGRAD__REV__MATRIX__CROSSPROD_HPP__
2
#define __STAN__AGRAD__REV__MATRIX__CROSSPROD_HPP__
3
4
#include <
stan/agrad/rev/matrix/typedefs.hpp
>
5
#include <
stan/agrad/rev/matrix/tcrossprod.hpp
>
6
7
namespace
stan {
8
namespace
agrad {
9
16
inline
matrix_v
17
crossprod
(
const
matrix_v
& M) {
18
return
tcrossprod
(M.transpose());
19
}
20
21
}
22
}
23
#endif
[
Stan Home Page
]
© 2011–2013, Stan Development Team.