cMHN 1.1
C++ library for learning MHNs with pRC
Loading...
Searching...
No Matches
minus.hpp
Go to the documentation of this file.
1// SPDX-License-Identifier: BSD-2-Clause
2
3#ifndef pRC_CORE_VALUE_FUNCTIONS_MINUS_H
4#define pRC_CORE_VALUE_FUNCTIONS_MINUS_H
5
9
10namespace pRC
11{
12 template<class T, If<IsValue<T>> = 0>
13 static inline constexpr auto operator-(T const &a)
14 {
15 return T(-a());
16 }
17}
18#endif // pRC_CORE_VALUE_FUNCTIONS_MINUS_H
pRC::Float<> T
Definition externs_nonTT.hpp:1
Definition cholesky.hpp:18
static constexpr auto operator-(Sequence< T, As... > const, Sequence< T, Bs... > const)
Definition sequence.hpp:132