private static DCT GetDct(double[] y) { if (Dcts == null) Dcts = new Dictionary<int, DCT>(); var N = y.Length; if (!Dcts.ContainsKey(N)) Dcts[N] = new DCT(N); return Dcts[N]; }
private static DCT GetDct(double[] y) { if (Dcts == null) { Dcts = new Dictionary <int, DCT>(); } var N = y.Length; if (!Dcts.ContainsKey(N)) { Dcts[N] = new DCT(N); } return(Dcts[N]); }