github.com/noriah/catnip@v1.8.5/fft/fft.go (about)

     1  // Package fft provides generic abstractions around fourier transformers.
     2  package fft
     3  
     4  func InitPlan(pointer **Plan, input []float64, output []complex128) {
     5  	(*pointer) = &Plan{
     6  		input:  input,
     7  		output: output,
     8  	}
     9  
    10  	(*pointer).init()
    11  }