cuqi.distribution.UserDefinedDistribution.__init__#

UserDefinedDistribution.__init__(dim=None, logpdf_func=None, gradient_func=None, sample_func=None, **kwargs)#

Initialize the core properties of the distribution.

Parameters:
  • name (str, default None) – Name of distribution.

  • geometry (Geometry, default _DefaultGeometry (or None)) – Geometry of distribution.

  • is_symmetric (bool, default None) – Indicator if distribution is symmetric.