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

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

[Octave-bug-tracker] [bug #32011] Tweak : sparse matrix should report 10


From: Rik
Subject: [Octave-bug-tracker] [bug #32011] Tweak : sparse matrix should report 100% when full rather than 1e02%
Date: Thu, 30 Dec 2010 17:27:51 +0000
User-agent: Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.2.13) Gecko/20101206 Ubuntu/9.10 (karmic) Firefox/3.6.13

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

                 Summary: Tweak : sparse matrix should report 100% when full
rather than 1e02%
                 Project: GNU Octave
            Submitted by: rik5
            Submitted on: Thu 30 Dec 2010 09:27:50 AM PST
                Category: None
                Severity: 1 - Wish
                Priority: 5 - Normal
              Item Group: Feature Request
                  Status: None
             Assigned to: None
         Originator Name: 
        Originator Email: 
             Open/Closed: Open
         Discussion Lock: Any
                 Release: dev
        Operating System: GNU/Linux

    _______________________________________________________

Details:

This is a small niggle, but when sparse matrices report their density they
usually use the form XX%.  However, if the matrix has all of its entries as
non-zero, it reports 1e02% rather than 100%.


a = sparse ([1,0])
a =

Compressed Column Sparse (rows = 1, cols = 2, nnz = 1 [50%])

  (1, 1) ->  1

octave:2> a(end) = 1
a =

Compressed Column Sparse (rows = 1, cols = 2, nnz = 2 [1e+02%])

  (1, 1) ->  1
  (1, 2) ->  1







    _______________________________________________________

Reply to this item at:

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

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




reply via email to

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