Stan Math Library
4.9.0
Automatic Differentiation
Loading...
Searching...
No Matches
operator_unary_not.hpp
Go to the documentation of this file.
1
#ifndef STAN_MATH_REV_CORE_OPERATOR_UNARY_NOT_HPP
2
#define STAN_MATH_REV_CORE_OPERATOR_UNARY_NOT_HPP
3
4
#include <
stan/math/rev/core/var.hpp
>
5
#include <
stan/math/prim/meta.hpp
>
6
7
namespace
stan
{
8
namespace
math {
9
17
inline
bool
operator!
(
const
var
& x) {
return
!x.val(); }
18
19
}
// namespace math
20
}
// namespace stan
21
#endif
stan::math::var_value< double >
stan::math::operator!
bool operator!(const fvar< T > &x)
Return the negation of the value of the argument as defined by !.
Definition
operator_unary_not.hpp:18
stan
The lgamma implementation in stan-math is based on either the reentrant safe lgamma_r implementation ...
Definition
unit_vector_constrain.hpp:15
meta.hpp
var.hpp
stan
math
rev
core
operator_unary_not.hpp
[
Stan Home Page
]
© 2011–2019, Stan Development Team.