private scaleSamples ( int channel, int startIndex, int step ) : void | ||
channel | int | |
startIndex | int | |
step | int | |
return | void |
private void scaleSamples(int channel, int startIndex, int step)
{
Console.WriteLine("Start index: " + startIndex);
Console.WriteLine("Start step: " + step);
Console.WriteLine("Current length: " + _currentChannelLength);
if (step > 0)
{
Vector<Double> temp = InputData.Signals[channel].Item2.SubVector(startIndex, step);
temp = temp.Multiply(Params.Scale);
_currentVector.SetSubVector(startIndex, step, temp);
}
}