estimator.SDis.is_small

static SDis.is_small(secret_distribution)[source]

Return true if the secret distribution is small

Parameters:secret_distribution – distribution of secret, see module level documentation for details

EXAMPLES:

sage: from estimator import SDis
sage: SDis.is_small(False)
False

sage: SDis.is_small(True)
True

sage: SDis.is_small(((-1, 1), 64))
True

sage: SDis.is_small(((-3, 3), 64))
True

sage: SDis.is_small((-3, 3))
True