cMHN 1.1
C++ library for learning MHNs with pRC
Loading...
Searching...
No Matches
imag.hpp
Go to the documentation of this file.
1// SPDX-License-Identifier: BSD-2-Clause
2
3#ifndef pRC_CORE_COMPLEX_FUNCTIONS_IMAG_H
4#define pRC_CORE_COMPLEX_FUNCTIONS_IMAG_H
5
7
8namespace pRC
9{
10 template<class X, If<IsComplex<RemoveReference<X>>> = 0>
11 static inline constexpr decltype(auto) imag(X &&a)
12 {
13 return forward<X>(a).imag();
14 }
15}
16#endif // pRC_CORE_COMPLEX_FUNCTIONS_IMAG_H
Definition cholesky.hpp:18
static constexpr auto makeConstantSequence()
Definition sequence.hpp:402
static constexpr decltype(auto) imag(X &&a)
Definition imag.hpp:11