switch/case in `partial_maximum_set' and to set a function pointer to be used in partial_maximum ? tito On Mon, Dec 05, 2011 at 12:11:42PM +0000, john ffitch wrote: > The implementation of maxk/maxk in case when the itype in case 3 > (average) is deeply flawed. Actually the documentation and code do > not agree at all. I think I can fix the uninitialised variable, but > the mismatch is worrying.... > > Documentation: > itype determinates [sic] the behaviour of max_k: > 1 - absolute maximum (sign of negative values is changed to positive > before evaluation) > 2 - actual maximum > 3 - actual minimum > 4 - calculate average value of asig in the time interval > > code: this type runs from 0-3 and 4 would generate an error > > Has anyone ever used this opcode? The code implement the type at > k-rate which is rather silly -- either it ought to be calculated once > and saved, or made available to the users at k-rate > > ==John ffitch > > ------------------------------------------------------------------------------ > All the data continuously generated in your IT infrastructure > contains a definitive record of customers, application performance, > security threats, fraudulent activity, and more. Splunk takes this > data and makes sense of it. IT sense. And common sense. > http://p.sf.net/sfu/splunk-novd2d > _______________________________________________ > Csound-devel mailing list > Csound-devel@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/csound-devel ------------------------------------------------------------------------------ All the data continuously generated in your IT infrastructure contains a definitive record of customers, application performance, security threats, fraudulent activity, and more. Splunk takes this data and makes sense of it. IT sense. And common sense. http://p.sf.net/sfu/splunk-novd2d _______________________________________________ Csound-devel mailing list Csound-devel@lists.sourceforge.net