Searched refs:scaling_coefficient (Results 1 – 3 of 3) sorted by relevance
/external/apache-commons-math/src/main/java/org/apache/commons/math/transform/ |
D | FastSineTransformer.java | 103 double scaling_coefficient = FastMath.sqrt(2.0 / f.length); in transform2() local 104 return FastFourierTransformer.scaleArray(fst(f), scaling_coefficient); in transform2() 128 double scaling_coefficient = FastMath.sqrt(2.0 / n); in transform2() local 129 return FastFourierTransformer.scaleArray(fst(data), scaling_coefficient); in transform2() 144 double scaling_coefficient = 2.0 / f.length; in inversetransform() local 145 return FastFourierTransformer.scaleArray(fst(f), scaling_coefficient); in inversetransform() 167 double scaling_coefficient = 2.0 / n; in inversetransform() local 168 return FastFourierTransformer.scaleArray(fst(data), scaling_coefficient); in inversetransform()
|
D | FastCosineTransformer.java | 103 double scaling_coefficient = FastMath.sqrt(2.0 / (f.length-1)); in transform2() local 104 return FastFourierTransformer.scaleArray(fct(f), scaling_coefficient); in transform2() 129 double scaling_coefficient = FastMath.sqrt(2.0 / (n-1)); in transform2() local 130 return FastFourierTransformer.scaleArray(fct(data), scaling_coefficient); in transform2() 146 double scaling_coefficient = 2.0 / (f.length - 1); in inversetransform() local 147 return FastFourierTransformer.scaleArray(fct(f), scaling_coefficient); in inversetransform() 170 double scaling_coefficient = 2.0 / (n - 1); in inversetransform() local 171 return FastFourierTransformer.scaleArray(fct(data), scaling_coefficient); in inversetransform()
|
D | FastFourierTransformer.java | 129 double scaling_coefficient = 1.0 / FastMath.sqrt(f.length); in transform2() local 130 return scaleArray(fft(f, false), scaling_coefficient); in transform2() 153 double scaling_coefficient = 1.0 / FastMath.sqrt(n); in transform2() local 154 return scaleArray(fft(data, false), scaling_coefficient); in transform2() 171 double scaling_coefficient = 1.0 / FastMath.sqrt(f.length); in transform2() local 172 return scaleArray(fft(f), scaling_coefficient); in transform2() 188 double scaling_coefficient = 1.0 / f.length; in inversetransform() local 189 return scaleArray(fft(f, true), scaling_coefficient); in inversetransform() 212 double scaling_coefficient = 1.0 / n; in inversetransform() local 213 return scaleArray(fft(data, true), scaling_coefficient); in inversetransform() [all …]
|