cMHN 1.2
C++ library for learning MHNs with pRC
Loading...
Searching...
No Matches
where.hpp
Go to the documentation of this file.
1// SPDX-License-Identifier: BSD-2-Clause
2
3#ifndef pRC_CORE_FUNCTORS_WHERE_H
4#define pRC_CORE_FUNCTORS_WHERE_H
5
8
9namespace pRC
10{
11 struct Where
12 {
13 template<class XE, class XA, class XB>
14 requires requires {
15 where(declval<XE>(), declval<XA>(), declval<XB>());
16 }
17 constexpr decltype(auto) operator()(XE &&e, XA &&a, XB &&b) const
18 {
19 return where(forward<XE>(e), forward<XA>(a), forward<XB>(b));
20 }
21 };
22}
23#endif // pRC_CORE_FUNCTORS_WHERE_H
Definition cholesky.hpp:10
static constexpr decltype(auto) where(TE const e, XA &&a, XB &&b)
Definition where.hpp:11
Definition where.hpp:12