freealg.FreeForm.slogdet#

FreeForm.slogdet(size=None, seed=None, **kwargs)#

Estimate the sign and logarithm of the determinant.

This function estimates the slogdet of the freeform or that of a larger matrix containing it using free decompression.

Parameters:
sizeint, default=None

The size of the matrix containing \(\mathbf{A}\) to estimate eigenvalues of. If None, returns estimates of the eigenvalues of \(\mathbf{A}\) itself.

seedint, default=None

The seed for the Quasi-Monte Carlo sampler.

Returns:
signfloat

Sign of determinant

ldfloat

natural logarithm of the absolute value of the determinant

Notes

All arguments to the .decompress() procedure can be provided.

Examples

>>> from freealg import FreeForm