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
04f13908
Commit
04f13908
authored
Apr 14, 2022
by
ullmannsven
Committed by
Stephan Rave
May 09, 2022
Browse files
changed default modes to 6
parent
95fe1e08
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/pymor/algorithms/rand_la.py
View file @
04f13908
...
...
@@ -170,7 +170,7 @@ def rrf(A, source_product=None, range_product=None, q=2, l=8, return_rand=False,
@
defaults
(
'p'
,
'q'
,
'modes'
)
def
random_generalized_svd
(
A
,
range_product
=
None
,
source_product
=
None
,
modes
=
3
,
p
=
20
,
q
=
2
):
def
random_generalized_svd
(
A
,
range_product
=
None
,
source_product
=
None
,
modes
=
6
,
p
=
20
,
q
=
2
):
r
"""Randomized SVD of an |Operator|.
Viewing the 'A' as a 'A.dim' x 'len(A)' matrix, the return value
...
...
@@ -247,7 +247,7 @@ def random_generalized_svd(A, range_product=None, source_product=None, modes=3,
@
defaults
(
'modes'
,
'p'
,
'q'
)
def
random_ghep
(
A
,
E
=
None
,
modes
=
3
,
p
=
20
,
q
=
2
,
single_pass
=
False
):
def
random_ghep
(
A
,
E
=
None
,
modes
=
6
,
p
=
20
,
q
=
2
,
single_pass
=
False
):
r
"""Approximates a few eigenvalues of a symmetric linear |Operator| with randomized methods.
Approximates `modes` eigenvalues `w` with corresponding eigenvectors `v` which solve
...
...
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