cMHN 1.1
C++ library for learning MHNs with pRC
Loading...
Searching...
No Matches
print.hpp
Go to the documentation of this file.
1// SPDX-License-Identifier: BSD-2-Clause
2
3#ifndef pRC_CORE_COMPLEX_FUNCTIONS_PRINT_H
4#define pRC_CORE_COMPLEX_FUNCTIONS_PRINT_H
5
7
8namespace pRC
9{
10 template<class T, class S, If<IsComplex<T>> = 0>
11 static inline auto print(T const &value, S &&stream)
12 {
13 print('(', stream);
14 print(value.real(), stream);
15 print(',', stream);
16 print(value.imag(), stream);
17 print(')', stream);
18 }
19}
20#endif // pRC_CORE_COMPLEX_FUNCTIONS_PRINT_H
TN::Subscripts S
Definition externs_nonTT.hpp:9
Definition cholesky.hpp:18
static constexpr auto makeConstantSequence()
Definition sequence.hpp:402
static auto print(String< N > const &string, std::FILE *stream)
Definition print.hpp:18