Stan
2.5.0
probability, sampling & optimization
Main Page
Related Pages
Namespaces
Classes
Files
File List
File Members
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Friends
Macros
Pages
src
stan
math
functions
max.hpp
Go to the documentation of this file.
1
#ifndef STAN__MATH__FUNCTIONS__MAX_HPP
2
#define STAN__MATH__FUNCTIONS__MAX_HPP
3
4
namespace
stan {
5
namespace
math {
6
7
inline
double
max
(
const
double
a,
const
double
b) {
8
return
a > b ? a : b;
9
}
10
11
}
12
}
13
14
#endif
stan::math::max
double max(const double a, const double b)
Definition:
max.hpp:7
[
Stan Home Page
]
© 2011–2014, Stan Development Team.