All Classes Namespaces Files Functions Variables Typedefs Enumerator Friends Macros
minus.hpp
Go to the documentation of this file.
#ifndef STAN_MATH_PRIM_MAT_FUN_MINUS_HPP
#define STAN_MATH_PRIM_MAT_FUN_MINUS_HPP
namespace stan {
namespace math {
template <typename T>
inline
T minus(const T& x) {
return -x;
}
}
}
#endif
stan::math::minus
T minus(const T &x)
Returns the negation of the specified scalar or matrix.
Definition: minus.hpp:16

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