22// Math.NET Numerics, part of the Math.NET Project
33// https://numerics.mathdotnet.com
44//
5- // Copyright (c) 2009-2018 Math.NET
5+ // Copyright (c) 2009-2021 Math.NET
66//
77// Permission is hereby granted, free of charge, to any person
88// obtaining a copy of this software and associated documentation
3333
3434namespace MathNet . Numerics . Providers . FourierTransform
3535{
36- internal partial class ManagedFourierTransformProvider
36+ public partial class ManagedFourierTransformProvider
3737 {
3838 /// <summary>
3939 /// Radix-2 Reorder Helper Method
4040 /// </summary>
4141 /// <typeparam name="T">Sample type</typeparam>
4242 /// <param name="samples">Sample vector</param>
43- private static void Radix2Reorder < T > ( T [ ] samples )
43+ static void Radix2Reorder < T > ( T [ ] samples )
4444 {
4545 var j = 0 ;
4646 for ( var i = 0 ; i < samples . Length - 1 ; i ++ )
@@ -73,7 +73,7 @@ private static void Radix2Reorder<T>(T[] samples)
7373#if ! NET40
7474 [ MethodImpl ( MethodImplOptions . AggressiveInlining ) ]
7575#endif
76- private static void Radix2Step ( Complex32 [ ] samples , int exponentSign , int levelSize , int k )
76+ static void Radix2Step ( Complex32 [ ] samples , int exponentSign , int levelSize , int k )
7777 {
7878 // Twiddle Factor
7979 var exponent = ( exponentSign * k ) * Constants . Pi / levelSize ;
@@ -99,7 +99,7 @@ private static void Radix2Step(Complex32[] samples, int exponentSign, int levelS
9999#if ! NET40
100100 [ MethodImpl ( MethodImplOptions . AggressiveInlining ) ]
101101#endif
102- private static void Radix2Step ( Complex [ ] samples , int exponentSign , int levelSize , int k )
102+ static void Radix2Step ( Complex [ ] samples , int exponentSign , int levelSize , int k )
103103 {
104104 // Twiddle Factor
105105 var exponent = ( exponentSign * k ) * Constants . Pi / levelSize ;
@@ -118,7 +118,7 @@ private static void Radix2Step(Complex[] samples, int exponentSign, int levelSiz
118118 /// <summary>
119119 /// Radix-2 generic FFT for power-of-two sized sample vectors.
120120 /// </summary>
121- private static void Radix2Forward ( Complex32 [ ] data )
121+ static void Radix2Forward ( Complex32 [ ] data )
122122 {
123123 Radix2Reorder ( data ) ;
124124 for ( var levelSize = 1 ; levelSize < data . Length ; levelSize *= 2 )
@@ -133,7 +133,7 @@ private static void Radix2Forward(Complex32[] data)
133133 /// <summary>
134134 /// Radix-2 generic FFT for power-of-two sized sample vectors.
135135 /// </summary>
136- private static void Radix2Forward ( Complex [ ] data )
136+ static void Radix2Forward ( Complex [ ] data )
137137 {
138138 Radix2Reorder ( data ) ;
139139 for ( var levelSize = 1 ; levelSize < data . Length ; levelSize *= 2 )
@@ -148,7 +148,7 @@ private static void Radix2Forward(Complex[] data)
148148 /// <summary>
149149 /// Radix-2 generic FFT for power-of-two sized sample vectors.
150150 /// </summary>
151- private static void Radix2Inverse ( Complex32 [ ] data )
151+ static void Radix2Inverse ( Complex32 [ ] data )
152152 {
153153 Radix2Reorder ( data ) ;
154154 for ( var levelSize = 1 ; levelSize < data . Length ; levelSize *= 2 )
@@ -163,7 +163,7 @@ private static void Radix2Inverse(Complex32[] data)
163163 /// <summary>
164164 /// Radix-2 generic FFT for power-of-two sized sample vectors.
165165 /// </summary>
166- private static void Radix2Inverse ( Complex [ ] data )
166+ static void Radix2Inverse ( Complex [ ] data )
167167 {
168168 Radix2Reorder ( data ) ;
169169 for ( var levelSize = 1 ; levelSize < data . Length ; levelSize *= 2 )
@@ -178,7 +178,7 @@ private static void Radix2Inverse(Complex[] data)
178178 /// <summary>
179179 /// Radix-2 generic FFT for power-of-two sample vectors (Parallel Version).
180180 /// </summary>
181- private static void Radix2ForwardParallel ( Complex32 [ ] data )
181+ static void Radix2ForwardParallel ( Complex32 [ ] data )
182182 {
183183 Radix2Reorder ( data ) ;
184184 for ( var levelSize = 1 ; levelSize < data . Length ; levelSize *= 2 )
@@ -198,7 +198,7 @@ private static void Radix2ForwardParallel(Complex32[] data)
198198 /// <summary>
199199 /// Radix-2 generic FFT for power-of-two sample vectors (Parallel Version).
200200 /// </summary>
201- private static void Radix2ForwardParallel ( Complex [ ] data )
201+ static void Radix2ForwardParallel ( Complex [ ] data )
202202 {
203203 Radix2Reorder ( data ) ;
204204 for ( var levelSize = 1 ; levelSize < data . Length ; levelSize *= 2 )
@@ -218,7 +218,7 @@ private static void Radix2ForwardParallel(Complex[] data)
218218 /// <summary>
219219 /// Radix-2 generic FFT for power-of-two sample vectors (Parallel Version).
220220 /// </summary>
221- private static void Radix2InverseParallel ( Complex32 [ ] data )
221+ static void Radix2InverseParallel ( Complex32 [ ] data )
222222 {
223223 Radix2Reorder ( data ) ;
224224 for ( var levelSize = 1 ; levelSize < data . Length ; levelSize *= 2 )
@@ -238,7 +238,7 @@ private static void Radix2InverseParallel(Complex32[] data)
238238 /// <summary>
239239 /// Radix-2 generic FFT for power-of-two sample vectors (Parallel Version).
240240 /// </summary>
241- private static void Radix2InverseParallel ( Complex [ ] data )
241+ static void Radix2InverseParallel ( Complex [ ] data )
242242 {
243243 Radix2Reorder ( data ) ;
244244 for ( var levelSize = 1 ; levelSize < data . Length ; levelSize *= 2 )
0 commit comments