Feeds
提问
use the previous result of a function in the calculation
I want to perform a calculation: , how can I include the Y(i-1) part? Obviously a loop would work, but my data set is quite larg...
5 years 前 | 1 个回答 | 0
1
个回答提问
Need to remove repeated adjacent elements in an array
I need to turn [1 1 1 1 2 2 2 6 6 6 6 2 2 2 2] into [1 2 6 2] unique() gives [1 2 6], but I want to preserve the second va...
10 years 前 | 3 个回答 | 1
