cMHN 1.2
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<IsComplex T, class S>
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
Definition value.hpp:12
TN::Subscripts S
Definition externs_nonTT.hpp:9
int value
Definition gmock-actions_test.cc:1714
Definition cholesky.hpp:10
static auto print(String< N > const &string, std::FILE *stream)
Definition print.hpp:18