bayespecon._logdet.traceax_traces_for_chebyshev¶
-
bayespecon._logdet.traceax_traces_for_chebyshev(W_sparse, order, n_mc_iter, estimator=
'hutchpp', seed=0)[source]¶ Estimate tr(W^k) for the Chebyshev MC path via traceax.
This is a convenience wrapper around
traceax_traces()that returns the mean trace estimates in the format expected bychebyshev()’s MC path: a 1-D array of shape(order,)where entry[i]is the mean estimate oftr(W^{i+1}) / (i+1).