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: anonymous
Subject: [Octave-bug-tracker] [bug #53140] Solution of a system of linear equations takes forever and hurts OS performance.
Date: Tue, 13 Feb 2018 05:48:11 -0500 (EST)
User-agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:58.0) Gecko/20100101 Firefox/58.0

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

                 Summary: Solution of a system of linear equations takes
forever and hurts OS performance.
                 Project: GNU Octave
            Submitted by: None
            Submitted on: Tue 13 Feb 2018 10:48:10 AM UTC
                Category: Performance
                Severity: 3 - Normal
                Priority: 5 - Normal
              Item Group: Performance
                  Status: None
             Assigned to: None
         Originator Name: Octave user
        Originator Email: 
             Open/Closed: Open
         Discussion Lock: Any
                 Release: 4.2.1
        Operating System: Microsoft Windows

    _______________________________________________________

Details:

The execution of the following code takes at least ten hours or more.

clear all;
close all;

load linsolve_test.mat;

tic;
x = A \ b;
toc;

However the LU decomposition of A takes only a few seconds:

tic;
[L, U, P, Q, R] = lu (A);
x = Q * ( U \ ( L \ ( P * ( R \ b ) ) ) );
toc;



    _______________________________________________________

File Attachments:


-------------------------------------------------------
Date: Tue 13 Feb 2018 10:48:10 AM UTC  Name: linsolve_test.7z  Size: 1MiB  
By: None

<http://savannah.gnu.org/bugs/download.php?file_id=43269>

    _______________________________________________________

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]