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

Fix #10970. Allow LU factorizing non-square sparse matrices. #11025

Merged
merged 1 commit into from
Apr 27, 2015

Conversation

andreasnoack
Copy link
Member

E.g.

julia> full(lufact(sprandn(5,3,0.5))[:L])
5x3 Array{Float64,2}:
  1.0        0.0        0.0      
  0.0        1.0        0.0      
  0.0        0.56509    1.0      
 -0.300521  -0.673485  -0.0597699
  0.0        0.0        0.0

@tkelman tkelman added domain:linear algebra Linear algebra domain:arrays:sparse Sparse arrays labels Apr 27, 2015
@tkelman
Copy link
Contributor

tkelman commented Apr 27, 2015

Cool, +1

cc @gwhowell

@gwhowell
Copy link

Looks good,
Thanks,
Gary

On Mon, Apr 27, 2015 at 2:38 AM, Tony Kelman [email protected]
wrote:

Cool, +1

cc @gwhowell https://github.com/gwhowell


Reply to this email directly or view it on GitHub
#11025 (comment).

andreasnoack added a commit that referenced this pull request Apr 27, 2015
Fix #10970. Allow LU factorizing non-square sparse matrices.
@andreasnoack andreasnoack merged commit b47d3d0 into master Apr 27, 2015
@andreasnoack andreasnoack deleted the anj/umf branch April 27, 2015 23:58
@ViralBShah
Copy link
Member

Is it realistic to backport this?

@andreasnoack
Copy link
Member Author

Yes. I could cherry-pick it cleanly, so I think we should just do it by the end of the week.

@tkelman
Copy link
Contributor

tkelman commented Apr 29, 2015

The tests have been moved around to different files, but otherwise the change looks pretty small - depends whether the umfpack code looks the same on release-0.3.

@andreasnoack
Copy link
Member Author

@tkelman I've already tried git cherry-pick and there weren't any conflicts.

@tkelman
Copy link
Contributor

tkelman commented Apr 29, 2015

Sounds good, just make sure the added tests get run under release-0.3's file organization.

At this point I wouldn't be opposed to saying all backports to release-0.3 from now on should go through pr's against release-0.3, but I might be the only one who thinks that.

andreasnoack added a commit that referenced this pull request Apr 30, 2015
@tkelman
Copy link
Contributor

tkelman commented Apr 30, 2015

Wasn't sure if you were going to do the backport, so I did in a6efa59.

git cherry-pick is smarter than I thought it was, it seems to have figured out that the tests have moved around to different files.

@tkelman
Copy link
Contributor

tkelman commented May 1, 2015

@gwhowell just your luck that we should also have 0.3.8 out momentarily, binaries are building now

@gwhowell
Copy link

gwhowell commented May 1, 2015

Hi,
I
was able to recompile 0.3.7 with the lufact nonsquare changes. It's
probably working (returns results, have not yet checked the results).

If I make progress with the column pivoting, I'll let you know.

Another operator I'm interested in is condest. matlab and octave seem to
use the same
algorithm for that (actually estimates the L1 condition number, uses work
of
Higham and Hager). When I get more time I can submit that as a ticket (and
perhaps
give you some code that seems to work). I use condest at runtime to decide
what preconditioners to use.

So thanks,
Gary Howell

On Thu, Apr 30, 2015 at 8:10 PM, Tony Kelman [email protected]
wrote:

@gwhowell https://github.com/gwhowell just your luck that we should
also have 0.3.8 out momentarily, binaries are building now


Reply to this email directly or view it on GitHub
#11025 (comment).

@tkelman
Copy link
Contributor

tkelman commented May 1, 2015

@gwhowell ref #6485

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

Successfully merging this pull request may close these issues.

None yet

4 participants