pRC
multi-purpose Tensor Train library for C++
Loading...
Searching...
No Matches
prc
core
value
functions
conj.hpp
Go to the documentation of this file.
1
// SPDX-License-Identifier: BSD-2-Clause
2
3
#ifndef pRC_CORE_VALUE_FUNCTIONS_CONJ_H
4
#define pRC_CORE_VALUE_FUNCTIONS_CONJ_H
5
6
#include <
prc/core/value/type_traits.hpp
>
7
8
namespace
pRC
9
{
20
template
<
class
T, If<IsValue<T>> = 0>
21
static
inline
constexpr
auto
conj
(
T
const
&a)
22
{
23
return
a;
24
}
25
}
26
#endif
// pRC_CORE_VALUE_FUNCTIONS_CONJ_H
type_traits.hpp
pRC
Definition
cholesky.hpp:18
pRC::copy
static constexpr Conditional< IsSatisfied< C >, RemoveConstReference< X >, X > copy(X &&a)
Definition
copy.hpp:13
pRC::conj
static constexpr auto conj(Complex< T > const &a)
Definition
conj.hpp:11
Generated by
1.9.8