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

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

[Octave-bug-tracker] [bug #33932] Permutation matrices of class 'single'


From: Rik
Subject: [Octave-bug-tracker] [bug #33932] Permutation matrices of class 'single' are unsupported
Date: Wed, 03 Aug 2011 02:18:05 +0000
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:5.0) Gecko/20100101 Firefox/5.0

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

                 Summary: Permutation matrices of class 'single' are
unsupported
                 Project: GNU Octave
            Submitted by: rik5
            Submitted on: Tue 02 Aug 2011 07:18:04 PM PDT
                Category: None
                Severity: 2 - Minor
                Priority: 5 - Normal
              Item Group: Other
                  Status: Confirmed
             Assigned to: None
         Originator Name: 
        Originator Email: 
             Open/Closed: Open
         Discussion Lock: Any
                 Release: dev
        Operating System: GNU/Linux

    _______________________________________________________

Details:

This is a placeholder issue report.  During the first code sprint it was found
that permutation matrices can only be created of class double.  This might not
be a problem, however, we found C++ code for the double() function
(src/ov-re-mat.cc) that was checking for permutation matrices of type single.

Example Code:


x = eye(2)([2,1], :)
x =

Permutation Matrix

   0   1
   1   0

BUT

x = eye(2, "single")([2,1], :)
x =

   0   1
   1   0








    _______________________________________________________

Reply to this item at:

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

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




reply via email to

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