|
algebramix_doc 0.3
|
#include <fft_roots.hpp>
Definition at line 229 of file fft_roots.hpp.
| typedef V::C C |
Definition at line 230 of file fft_roots.hpp.
| typedef V::U U |
Definition at line 231 of file fft_roots.hpp.
| static U* create_roots | ( | nat | n | ) | [inline, static] |
Definition at line 236 of file fft_roots.hpp.
References cached_roots_helper< V >::capacity, cached_roots_helper< V >::destroy_roots(), and cached_roots_helper< V >::roots.
{
if (n > capacity) {
if (capacity != 0) V::destroy_roots (roots, capacity);
roots= V::create_roots (n);
capacity= n;
}
return roots;
}
| static void destroy_roots | ( | U * | u, |
| nat | n | ||
| ) | [inline, static] |
Definition at line 246 of file fft_roots.hpp.
Referenced by cached_roots_helper< V >::create_roots().
{
(void) u; (void) n;
}
nat capacity = 0 [static] |
Definition at line 232 of file fft_roots.hpp.
Referenced by cached_roots_helper< V >::create_roots().
V::U * roots = NULL [static] |
Definition at line 233 of file fft_roots.hpp.
Referenced by cached_roots_helper< V >::create_roots().