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

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

[Octave-bug-tracker] [bug #36463] Mixed data type operations not support


From: Nir Krakauer
Subject: [Octave-bug-tracker] [bug #36463] Mixed data type operations not supported with sparse matrices
Date: Mon, 14 May 2012 02:33:24 +0000
User-agent: Mozilla/5.0 (X11; U; Linux x86_64; en-US) AppleWebKit/534.3 (KHTML, like Gecko) Chrome/6.0.472.63 Safari/534.3

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

                 Summary: Mixed data type operations not supported with sparse
matrices
                 Project: GNU Octave
            Submitted by: nir_krakauer
            Submitted on: Mon 14 May 2012 02:33:23 AM GMT
                Category: Interpreter
                Severity: 3 - Normal
                Priority: 5 - Normal
              Item Group: Feature Request
                  Status: None
             Assigned to: None
         Originator Name: Nir Krakauer
        Originator Email: 
             Open/Closed: Open
         Discussion Lock: Any
                 Release: 3.6.1
        Operating System: GNU/Linux

    _______________________________________________________

Details:

Mixed operations involving sparse matrices and non-double arrays or scalars
currently return errors:


speye(2) + uint32(3)
error: binary operator `+' not implemented for `sparse matrix' by `uint32
scalar' operations


speye(2) * eye(2, "single")
error: binary operator `*' not implemented for `sparse matrix' by `float
matrix' operations



It would be useful for such operations to give sensible results, if necessary
even by automatically promoting non-double arguments to double, as in
http://www.mathworks.com/matlabcentral/fileexchange/26181-robust-sparse-data-types






    _______________________________________________________

Reply to this item at:

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

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




reply via email to

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