Commit 117b04df authored by Sven Ullmann's avatar Sven Ullmann Committed by Stephan Rave
Browse files

Update src/pymor/algorithms/rand_la.py


Co-authored-by: default avatarStephan Rave <stephanrave@uni-muenster.de>
parent 24ef0398
......@@ -271,7 +271,7 @@ def random_ghep(A, E=None, modes=3, p=20, q=2, single_pass=False):
modes
The number of eigenvalues and eigenvectors which are to be computed.
p :
If not `0`, adds `p` colums to the randomly sampled matrix in the :func:`rrf` method
If not `0`, adds `p` colums to the randomly sampled matrix in the :func:`rrf` method
(oversampling parameter).
q :
If not `0`, performs `q` power iterations to increase the relative weight
......@@ -326,4 +326,4 @@ def random_ghep(A, E=None, modes=3, p=20, q=2, single_pass=False):
with logger.block(f'Computing eigenvectors ({modes} vectors) ...'):
V = Q.lincomb(S)
return w[:modes], V[:modes]
\ No newline at end of file
return w[:modes], V[:modes]
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment