pRC
multi-purpose Tensor Train library for C++
Loading...
Searching...
No Matches
apply.hpp
Go to the documentation of this file.
1// SPDX-License-Identifier: BSD-2-Clause
2
3#ifndef pRC_CORE_FUNCTORS_APPLY_H
4#define pRC_CORE_FUNCTORS_APPLY_H
5
8
9namespace pRC
10{
14 struct Apply
15 {
16 template<class XA, class XB,
18 0>
19 constexpr decltype(auto) operator()(XA &&a, XB &&b) const
20 {
22 }
23 };
24}
25#endif // pRC_CORE_FUNCTORS_APPLY_H
Restrict
This enum's elements denote a restriction of an operator.
Definition restrict.hpp:27
Hint
This enum's elements denote a hint regarding an operator.
Definition hint.hpp:30
Transform
This enum's elements denote a transformation done to an operator.
Definition transform.hpp:23
Definition cholesky.hpp:18
static constexpr Conditional< IsSatisfied< C >, RemoveConstReference< X >, X > copy(X &&a)
Definition copy.hpp:13
Definition apply.hpp:15
constexpr decltype(auto) operator()(XA &&a, XB &&b) const
Definition apply.hpp:19