private double[] GetFuncValues() { double[] result = new double[SamplingFrequency]; for (int i = 0; i < SamplingFrequency; i++) { result[i] = signal.Calculate((double)i / SamplingFrequency); } return(result); }