bugGNU Octave - Bugs: bug #46170, David Bateman: sparse matrix *...

 
 

bug #46170: David Bateman: sparse matrix * single

Submitted by:  Ceral Paquet <octavebugs>
Submitted on:  Sat 10 Oct 2015 08:31:58 AM UTC  
 
Category: NoneSeverity: 3 - Normal
Priority: 5 - NormalItem Group: None
Status: InvalidAssigned to: None
Originator Name: Open/Closed: Closed
Release: 4.0.0Operating System: GNU/Linux

Add a New Comment(Rich Markup)
   

You are not logged in

Please log in, so followups can be emailed to you.

 

Sat 10 Oct 2015 08:52:30 AM UTC, comment #1:

Why did you post this to the bug tracker?

This looks more like a request for information than a bug report.

I think it would make more sense to ask this question on the mailing list at -unavailable- rather than here in the tracker.

Can you please send the same message there?

Carlo de Falco <cdf>
Project Member
Sat 10 Oct 2015 08:31:58 AM UTC, original submission:

I am interested in contributing functionality to the Octave project. I saw your name in the comments for sparse functions and searched online and found your pdf article on the Octave implementation.

Of most interest to me would be to allow the multiplication of a
sparse matrix with a single precision vector (or matrix). to return a full single precision vector (or full matrix). The reason is that sparse requires everything in double precision and so all my data (multi Gb in single precision) have to be cast up to doubles just to do a multiplication.

This does extend the functionality as compared to Matlab but doesn't break compatibility - I think it is much like how Octave extends useful things like # for comments and += operators. Also, as it happens, how Octave's sparse() accepts non-double arguments whereas Matlab's gives an error.

I've been staring at the Sparse code in liboctave/array for a few days and tried a few things but I am lost! I wonder if you could give me a short intro to the sparse classes:

boolSparse.cc dSparse.cc MSparse-C.cc Sparse-b.cc Sparse-C.cc
CSparse.cc MSparse.cc MSparse-d.cc Sparse.cc Sparse-d.cc
boolSparse.h CSparse.h dSparse.h MSparse-defs.h MSparse.h Sparse.h

I see operator definitions for * in different files and some FORTRAN interfaces but it's hard to understand what does what. I'd really appreciate your help.

Thanks!

Ceral Paquet <octavebugs>

 

(Note: upload size limit is set to 16384 kB, after insertion of the required escape characters.)

Attach File(s):
   
   
Comment:
   

No files currently attached

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -unavailable- added by cdf (Posted a comment)
  • -unavailable- added by octavebugs (Submitted the item)
  •  

    Do you think this task is very important?
    If so, you can click here to add your encouragement to it.
    This task has 0 encouragements so far.

    Only project members can vote.

     

    Please enter the title of George Orwell's famous dystopian book (it's a date):

     

     

    Follow 2 latest changes.

    Date Changed By Updated Field Previous Value => Replaced By
    Sat 10 Oct 2015 08:52:30 AM UTCcdfOpen/ClosedOpen=>Closed
    Sat 10 Oct 2015 08:52:29 AM UTCcdfStatusNone=>Invalid

    Back to the top


    Powered by Savane 3.1-cleanup1