def test_distribution_vector_variant(self):
     """Confirms that the free functions that operate on a vector variant
     are bound."""
     items = [
         mut.DeterministicVectorX(value=[1.0]),
         mut.GaussianVectorX(mean=[1.0], stddev=[0.1]),
         mut.UniformVectorX(min=[-1.0], max=[1.0]),
     ]
     for item in items:
         copied = mut.ToDistributionVector(item)
         self._check_distribution_vector(copied)
         if mut.IsDeterministic(vec=item):
             mut.GetDeterministicValue(vec=item)
 def test_deterministic_vector(self):
     mut.DeterministicVectorX()
     dut = mut.DeterministicVectorX(value=[0.0, 1.0])
     dut.value = [0.0, 2.0]
     self._check_distribution_vector(dut)