Opened 15 years ago

Closed 14 years ago

#462 closed request (fixed)

add sorted range to KS

Reported by: Peter Owned by: Peter
Priority: minor Milestone: yat 0.5
Component: statistics Version: trunk
Keywords: Cc:


KS holds a set so the fact that the range is sorted could be used to speed up the insertion.

Possibly we could add a unsorted version as well (named just add) but perhaps there is a template taking care of that case.

Change History (2)

comment:1 Changed 14 years ago by Peter

Status: newassigned

comment:2 Changed 14 years ago by Peter

Resolution: fixed
Status: assignedclosed

(In [1701]) class KolmogorovSmirnov?: add (sorted) range (fixes #462) allow copy and assignment add a shuffle function p_value calculation now scales linearly with number of data points and not N*logN as before added a test to see if std::multiset::iterator is mutable

Note: See TracTickets for help on using tickets.