Example #1
0
 public void Cleanup()
 {
     _allocator.ReturnComplex32MatrixStorage((MathNet.Numerics.LinearAlgebra.Storage.DenseColumnMajorMatrixStorage <Complex32>)_STFT.Storage);
     if (Phase != null)
     {
         _allocator.ReturnFloatMatrixStorage((MathNet.Numerics.LinearAlgebra.Storage.DenseColumnMajorMatrixStorage <float>)Phase.Storage);
     }
     _allocator.ReturnFloatMatrixStorage((MathNet.Numerics.LinearAlgebra.Storage.DenseColumnMajorMatrixStorage <float>)Spec.Storage);
     _allocator.ReturnFloatVectorStorage((MathNet.Numerics.LinearAlgebra.Storage.DenseVectorStorage <float>)Window.Storage);
 }