Stan  1.3
probability, sampling & optimization
 All Classes Namespaces Files Functions Variables Typedefs Enumerator Friends Macros Pages
square.hpp
Go to the documentation of this file.
1 #ifndef __STAN__MATH__FUNCTIONS__SQUARE_HPP__
2 #define __STAN__MATH__FUNCTIONS__SQUARE_HPP__
3 
4 namespace stan {
5  namespace math {
6 
21  template <typename T>
22  inline T square(const T x) {
23  return x * x;
24  }
25 
26  }
27 }
28 
29 #endif

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