Update vector space utility functions for all spaces (#223)

This commit is contained in:
Mark Towers
2023-02-22 15:05:58 +00:00
committed by GitHub
parent 761bb2e033
commit a7d9146b1d
8 changed files with 293 additions and 408 deletions

View File

@@ -0,0 +1,7 @@
"""Utility functions for testing the vector utility functions."""
import numpy as np
def is_rng_equal(rng_1: np.random.Generator, rng_2: np.random.Generator):
"""Asserts that two random number generates are equivalent."""
return rng_1.bit_generator.state == rng_2.bit_generator.state