DLPrimitives
shared_resource.hpp
1 #pragma once
2 #include <dlprim/random.hpp>
3 namespace dlprim {
12  public:
15  {
16  return state_;
17  }
18  private:
19  RandomState state_;
20  };
21 
22 };
Mane namespace.
Definition: context.hpp:9
RandomState & rng_state()
State of random number generator.
Definition: shared_resource.hpp:14
Definition: random.hpp:30
Resources shared by the entire network.
Definition: shared_resource.hpp:11