Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Record resnorm in powm! #196

Open
wants to merge 25 commits into
base: master
Choose a base branch
from
Open

Conversation

tkf
Copy link

@tkf tkf commented Apr 8, 2018

as mentioned in the docstring.

haampie and others added 25 commits December 7, 2017 00:02
Remove unused iterable constructors and add missing tests for initial guess for x
…zed-algorithms

Move randomized algorithms from the package
…ly-convergence-history

Make convergence history show a summary
…-to-struct

Fix mutable structs that are not mutable
…-as-broadcast

Use broadcasting rather than BLAS calls
…-name

Resolve conflicting name 'Hessenberg'
Allow pre-allocation and re-use of buffers in CG
as mentioned in the docstring
@@ -21,7 +21,7 @@ end

@inline converged(p::PowerMethodIterable) = p.residual ≤ p.tol

@inline start(p::PowerMethodIterable) = 0
@inline start(p::PowerMethodIterable) = 1
Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Alternatively, we can do reserve!(history, :resnorm, maxiter + 1) but iterating maxiter + 1 instead of maxiter was a minor bug so why not fix it here.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants