bayespecon._logdet.get_cached_logdet_fn

bayespecon._logdet.get_cached_logdet_fn(W, method=None, rho_min=-1.0, rho_max=1.0, T=1, trace_estimator='hutchpp', trace_k=None)[source]

Return a shared cached make_logdet_fn callable.

Cache key includes a stable signature of W plus method, bounds, panel multiplier T, and the Chebyshev trace estimator settings. This avoids repeatedly rebuilding equivalent logdet approximations across model instances.