pymc.math.full#

pymc.math.full(shape, fill_value, dtype=None)[source]#

Return a new array of given shape and type, filled with fill_value.

See numpy.full.

Parameters:
shapeint or sequence of ints

Shape of the new array, e.g., (2, 3) or 2.

fill_valuescalar or array_like

Fill value.

dtypedata-type, optional

The desired data-type for the array The default, None, means np.array(fill_value).dtype.