@staticmethod
def same_value(n: int, val: float):
    'Creates vector filled with the same value.'
    return Prob((np.ones(n, dtype=np.float64) * val))
Creates vector filled with the same value.
@staticmethod
def same_value(n: int, val: float):
    
    return Prob((np.ones(n, dtype=np.float64) * val))