-
Notifications
You must be signed in to change notification settings - Fork 12
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
Added sparse_factors function #5
Conversation
``` | ||
|
||
""" | ||
function _build_woodbury_specs{T}(::Type{T}, n::Int, args::Tuple{Int, Int, Any}...) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The code is fine---it's not high-performance, but this function doesn't need to be, if we don't export it, because you're using it only for small problems.
The help text is a little hard to follow: what is args
? (it's clear if you read the code, but...). You might want to mention that rowspec
, valspec
, and colspec
are all sparse matrices.
If we don't export it, the name isn't crucial, but somehow the name seems like it could be a little better. Maybe call it |
Thanks for the comments. I definitely agree that The I like the |
Sure, that's still sparse, even if not a |
281e970
to
2bd910b
Compare
So I tried allowing the For now it is also just a |
Sorry I didn't notice this was ready. Thanks! See also #6. |
No problem, thanks! |
``` | ||
|
||
""" | ||
function sparse_factors{T}(::Type{T}, n::Int, args::Tuple{Int, Int, Any}...) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
this needs Compat
Hi @timholy this is the spec builder function from over at Interpolations.jl
I've opened a PR to give you a chance to give feedback, especially regarding the name and whether or not to export the function.
Thanks!