MCPcopy Create free account
hub / github.com/clMathLibraries/clFFT / set_backward_transform

Method set_backward_transform

src/tests/fftw_transform.h:354–368  ·  view source on GitHub ↗

/

Source from the content-addressed store, hash-verified

352
353 /*****************************************************/
354 void set_backward_transform()
355 {
356 if( _type != c2c )
357 throw std::runtime_error( "do not use set_backward_transform() except with c2c transforms" );
358
359 if( _direction != backward )
360 {
361 _direction = backward;
362 fftw_guts.destroy_plan();
363 fftw_guts.make_plan((int)_lengths[dimx], (int)_lengths[dimy], (int)_lengths[dimz],
364 (int)input.number_of_dimensions(), (int)input.batch_size(),
365 reinterpret_cast<fftw_T*>(input.interleaved_ptr()), reinterpret_cast<fftw_T*>(output.interleaved_ptr()),
366 (int)(_lengths[dimx]*_lengths[dimy]*_lengths[dimz]), _direction, _type);
367 }
368 }
369
370 /*****************************************************/
371 size_t size_of_data_in_bytes()

Callers

nothing calls this directly

Calls 5

number_of_dimensionsMethod · 0.80
batch_sizeMethod · 0.80
interleaved_ptrMethod · 0.80
destroy_planMethod · 0.45
make_planMethod · 0.45

Tested by

no test coverage detected