cMHN 1.1
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_TENSOR_FUNCTIONS_WHERE_H
4#define pRC_CORE_TENSOR_FUNCTIONS_WHERE_H
5
9
10namespace pRC
11{
12 template<class XE, class XA, class XB,
17 static inline constexpr auto where(XE &&e, XA &&a, XB &&b)
18 {
19 return loop<Where>(forward<XE>(e), forward<XA>(a), forward<XB>(b));
20 }
21}
22#endif // pRC_CORE_TENSOR_FUNCTIONS_WHERE_H
Definition cholesky.hpp:18
static constexpr auto makeConstantSequence()
Definition sequence.hpp:402
static constexpr T where(TE const e, T &&a, T &&b)
Definition where.hpp:12