octave-bug-tracker
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Octave-bug-tracker] [bug #53140] Solution of a system of linear equatio


From: Marco Caliari
Subject: [Octave-bug-tracker] [bug #53140] Solution of a system of linear equations takes forever and hurts OS performance.
Date: Tue, 20 Feb 2018 04:26:31 -0500 (EST)
User-agent: Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:58.0) Gecko/20100101 Firefox/58.0

Follow-up Comment #15, bug #53140 (project octave):

@Rik: is it possible to understand whether it is a problem of memory
allocation or not? Because I find quite strange this idea


// Take a first guess that the number of nonzero terms
// will be as many as in b


If you try something like


A = sprand (1000, 1000, rand); x = A \ [1; zeros(999,1)]; nnz (x)


you will see that x is "never" sparse. I would like to investigate more, but I
have no time till the end of February.


    _______________________________________________________

Reply to this item at:

  <http://savannah.gnu.org/bugs/?53140>

_______________________________________________
  Message sent via/by Savannah
  http://savannah.gnu.org/




reply via email to

[Prev in Thread] Current Thread [Next in Thread]