pRC
multi-purpose Tensor Train library for C++
Loading...
Searching...
No Matches
less.hpp
Go to the documentation of this file.
1// SPDX-License-Identifier: BSD-2-Clause
2
3#ifndef pRC_CORE_BASIC_FUNCTIONS_LESS_H
4#define pRC_CORE_BASIC_FUNCTIONS_LESS_H
5
8
9namespace pRC
10{
11 template<class X>
12 static inline constexpr auto operator<(X &&a, Zero<> const)
13 {
15 }
16
17 template<class X>
18 static inline constexpr auto operator<(Zero<> const, X &&b)
19 {
21 }
22
23 static inline constexpr auto operator<(Zero<> const, Zero<> const)
24 {
25 return false;
26 }
27}
28#endif // pRC_CORE_BASIC_FUNCTIONS_LESS_H
Definition cholesky.hpp:18
static constexpr auto operator<(X &&a, Zero<> const)
Definition less.hpp:12
static constexpr Conditional< IsSatisfied< C >, RemoveConstReference< X >, X > copy(X &&a)
Definition copy.hpp:13
Definition type_traits.hpp:268