Simple math and loops


I am quite a new with Knime. I would like to perform simple math with rows. Anybody knows how to calculate for example Row1 + Row2, Row2 + Row3, Row3 + Row4 and so on, with single column table. I guess some loop structure with math should do this.

Regards, Ossi



use the java snippet for this.

define a global variable for the previous value. than you can sum and output it with the current.