freealg.FreeForm.cond#
- FreeForm.cond(size=None, seed=None, **kwargs)#
Estimate the condition number.
This function estimates the condition number of the matrix \(\mathbf{A}\) or a larger matrix containing \(\mathbf{A}\) 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.
- **kwargsdict, optional
Pass additional options to the underlying
FreeForm.decompress()
function.
- Returns:
- cfloat
Condition number
Examples
>>> from freealg import FreeForm