{ } Raw JSON

bundles / scipy latest / scipy / stats / _distribution_infrastructure / UnivariateDistribution / reset_cache

function

scipy.stats._distribution_infrastructure:UnivariateDistribution.reset_cache

source: /scipy/stats/_distribution_infrastructure.py :1701

Signature

def   reset_cache ( self )

Summary

Clear all cached values.

Extended Summary

To improve the speed of some calculations, the distribution's support and moments are cached.

This function is called automatically whenever the distribution parameters are updated.

Aliases

  • scipy.stats._distribution_infrastructure.UnivariateDistribution.reset_cache