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_RANDOM_PRINT_H
4#define pRC_CORE_RANDOM_PRINT_H
5
8
9namespace pRC
10{
11 template<Size N, class S>
12 static inline auto print(SeedSequence<N> const &seq, S &&stream)
13 {
14 print(name<SeedSequence<N>>(), stream);
15 print(":", stream);
16 for(Index i = 0; i < N; ++i)
17 {
18 print(" ", stream);
19 print(seq.param()[i], stream);
20 }
21 }
22}
23#endif // pRC_CORE_RANDOM_PRINT_H
Definition seq.hpp:13
constexpr auto & param() const
Definition seq.hpp:92
TN::Subscripts S
Definition externs_nonTT.hpp:9
int i
Definition gmock-matchers-comparisons_test.cc:603
Definition cholesky.hpp:10
Size Index
Definition basics.hpp:32
static auto print(String< N > const &string, std::FILE *stream)
Definition print.hpp:18
static constexpr auto name()
Definition type_name.hpp:11