bugGNU Octave - Bugs: bug #54786, Implemented: histcounts

 
 

bug #54786: Implemented: histcounts

Submitter:  Gene Harvey <gharveymn>
Submitted:  Fri 05 Oct 2018 01:47:32 AM UTC
   
 
Category:  Octave Function Severity:  3 - Normal
Priority:  5 - Normal Item Group:  None
Status:  Duplicate Assigned to:  None
Originator Name:  Gene Harvey Open/Closed:  * Closed
Release:  * dev Operating System:  * Any
Fixed Release:  None Planned Release:  None
* Mandatory Fields

Add a New Comment Rich Markup
   

Fri 05 Oct 2018 11:27:49 AM UTC, comment #1: 

Hi,

Thanks for your contribution. There is already an ongoing (at least recently revived) effort for implementing histcounts and histogram in patch #8801.

I'll close this report as a duplicate and let you post your implementation and/or give a hand there.

Pantxo Diribarne <pantxo>
Group Member
Fri 05 Oct 2018 01:47:32 AM UTC, original submission:  

This is an implementation of histcounts, a function missing from Octave thus far. If this is acceptable, I'll look into submitting a patch for histogram (next week?).

The principal files are histcounts.m and histcountsbin.cc.

I've included a tar with functions for testing. It is a relatively large function, but most of the search space should be hit by them. To run a test, just run paralleltest. You'll need pkg:parallel and MATLAB installed.

Some cleanup may be needed in the C++ file, I apologize for my lack of experience. It will take a while to compile because it accommodates for integer types.

Cheers

Gene Harvey <gharveymn>

 

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

Attach Files:
   
   
Comment:
   

No files currently attached

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -email is unavailable- added by pantxo (Posted a comment)
  • -email is unavailable- added by gharveymn (Submitted the item)
  •  

    There are 0 votes so far. Votes easily highlight which items people would like to see resolved in priority, independently of the priority of the item set by tracker managers.

    Only group members can vote.

     

    Follow 8 latest changes.

    Date Changed by Updated Field Previous Value => Replaced by
    2024-03-29 nrjank Attached File#45146 Removed
    2024-03-29 nrjank Attached File#45145 Removed
    2024-03-29 nrjank Attached File#45144 Removed
    2018-10-05 pantxo StatusNone Duplicate
        Open/ClosedOpen Closed
    2018-10-05 gharveymn Attached File- Added histcounts.m, #45144
        Attached File- Added testing.tar.gz, #45145
        Attached File- Added histcountsbin.cc, #45146

    Back to the top

    Powered by Savane 3.13-02a9.
    Corresponding source code