scipy.linalg.interpolative.
estimate_spectral_norm#
- scipy.linalg.interpolative.estimate_spectral_norm(A, its=20, rng=None)[source]#
- Estimate spectral norm of a matrix by the randomized power method. - Parameters:
- Ascipy.sparse.linalg.LinearOperator
- Matrix given as a - scipy.sparse.linalg.LinearOperatorwith the matvec and rmatvec methods (to apply the matrix and its adjoint).
- itsint, optional
- Number of power method iterations. 
- rngnumpy.random.Generator, optional
- Pseudorandom number generator state. When rng is None, a new - numpy.random.Generatoris created using entropy from the operating system. Types other than- numpy.random.Generatorare passed to- numpy.random.default_rngto instantiate a- Generator. If- randis- False, the argument is ignored.
 
- A
- Returns:
- float
- Spectral norm estimate.