[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Octave-bug-tracker] [bug #47173] mtimes allows arguments with >= 3 dime
From: |
Lachlan Andrew |
Subject: |
[Octave-bug-tracker] [bug #47173] mtimes allows arguments with >= 3 dimensions |
Date: |
Thu, 18 Feb 2016 01:51:45 +0000 |
User-agent: |
Mozilla/5.0 (X11; Linux x86_64; rv:43.0) Gecko/20100101 Firefox/43.0 |
Update of bug #47173 (project octave):
Status: In Progress => Patch Submitted
_______________________________________________________
Follow-up Comment #4:
I'm attaching a patch, and the shell+awk scripts I used to generate it.
The operators are created by a maze of nested macros to minimize repeated
code. It may be able to be simplified using templates, but my guess is that
it would still require quite a bit of special-case code. For example "A * B'"
doesn't just transpose B and then multiply; it uses a particular library call
that performs them together. Multiplication by a sparse, diagonal or
permutation matrix clearly needs different code from multiplication by a full
matrix etc.
This is right in the heart of Octave, and so it will probably take a lot of
time and testing to get the patch approved. Any suggestions of how to test
the hundreds of operators would be welcomed!
(file #36370, file #36371, file #36372)
_______________________________________________________
Additional Item Attachment:
File name: bug_47173_mtimes.cset Size:35 KB
File name: add_check.awk Size:0 KB
File name: traverse_files.sh Size:2 KB
_______________________________________________________
Reply to this item at:
<http://savannah.gnu.org/bugs/?47173>
_______________________________________________
Message sent via/by Savannah
http://savannah.gnu.org/