Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
pyMOR
pymor
Commits
117b04df
Commit
117b04df
authored
Apr 06, 2022
by
Sven Ullmann
Committed by
Stephan Rave
May 09, 2022
Browse files
Update src/pymor/algorithms/rand_la.py
Co-authored-by:
Stephan Rave
<
stephanrave@uni-muenster.de
>
parent
24ef0398
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/pymor/algorithms/rand_la.py
View file @
117b04df
...
...
@@ -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
]
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment