bayespecon.logdet.sparse_grid

bayespecon.logdet.sparse_grid(W, lmin, lmax, grid=0.01)[source]

Compute exact sparse-LU log-determinant grid (MATLAB lndetfull style).

Parameters:
W : array-like

Spatial weights matrix.

lmin : float

Lower bound of the rho grid.

lmax : float

Upper bound of the rho grid.

grid : float, default=0.01

Grid step size.

Returns:

Dictionary with rho and lndet vectors.

Return type:

dict