tor, 30 10 2008 kl. 17:05 -0400, skrev Dave Goel:
> There seems to be no easy way to achieve a cummax (a simple O(n)
> operation) while avoiding loops.  There are some ways to achieve
> it[1], but they all end up being > O(n). 

It's been a while, but I thought I should write and say that the
excellent Jaroslav Hajek has implemented 'cummin' and 'cummax' in the
development version of Octave. So version 3.2 will have built-in
implementations of these functions.

Søren


------------------------------------------------------------------------------
Open Source Business Conference (OSBC), March 24-25, 2009, San Francisco, CA
-OSBC tackles the biggest issue in open source: Open Sourcing the Enterprise
-Strategies to boost innovation and cut costs with open source participation
-Receive a $600 discount off the registration fee with the source code: SFAD
http://p.sf.net/sfu/XcvMzF8H
_______________________________________________
Octave-dev mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/octave-dev

Reply via email to