|
riccaticpp
|
Classes | |
| struct | is_complex_impl |
| struct | is_complex_impl< std::complex< T > > |
Functions | |
| template<bool Fwd, typename T > | |
| RICCATI_ALWAYS_INLINE auto | fft (T &&x) |
| template<unsigned int Alignment, typename T > | |
| RICCATI_ALWAYS_INLINE bool | is_aligned (T *ptr) |
| RICCATI_ALWAYS_INLINE unsigned char * | eight_byte_aligned_malloc (size_t size) |
Variables | |
| constexpr size_t | DEFAULT_INITIAL_NBYTES = 1 << 16 |
| RICCATI_ALWAYS_INLINE unsigned char * riccati::internal::eight_byte_aligned_malloc | ( | size_t | size | ) |
Allocates a block of memory of the specified size, returning a pointer to the block if successful.
| size | Number of bytes to allocate. |
Definition at line 41 of file memory.hpp.
References is_aligned(), and RICCATI_COLD_PATH.
| RICCATI_ALWAYS_INLINE auto riccati::internal::fft | ( | T && | x | ) |
Definition at line 13 of file chebyshev.hpp.
References fft().
| RICCATI_ALWAYS_INLINE bool riccati::internal::is_aligned | ( | T * | ptr | ) |
Return true if the specified pointer is aligned on the number of bytes.
This doesn't really make sense other than for powers of 2.
| Alignment | Number of bytes of alignment required. |
| T | Type of object to which pointer points. |
| ptr | Pointer to test. |
true if pointer is aligned. | Type | of object to which pointer points. |
Definition at line 30 of file memory.hpp.
|
constexpr |
Definition at line 34 of file memory.hpp.