Re: Resetting moving verbs

update u:{$[z;y;y&x]}[low[0];low;cond] from t

Thank you

On Wednesday, November 14, 2012 1:05:28 PM UTC-6, abcfoots wrote:

update u:{$[z;y;y&x]}[low[0];low;cond] from t

On Wednesday, November 14, 2012 12:20:17 PM UTC-5, Jake wrote:

I’m looking for a way to reset mins, or scan by group.

For example, I want to query, “What is the running min for column low, since column cond was last true” ?
mins doesn't work as it returns a running min of the entire list
mmins doesn't work as the size of the window changes from group to group
for example:

t:([]low:30?20; cond:30?01b)

Any suggestions on how I could update a column C that stores the moving low as long as cond=0?

And that moving low resets everytime cond=1?

Thanks

Thanks