Essentially, if I have the following matrix:
[1, 2, 3 ,4, 10]
I need to explode it whilst interpolating, as follows:
[1, 1.5, 2, 2.5, 3, 3.5, 4, 7, 10]
.
Essentially, buff it up by filling in the average of the two surrounding values.
Say if I need to do this for n instead of adding just 1 value as we have here.
See Question&Answers more detail:
os 与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…