represents spherical tensor fields (GPU version) More...
#include <stafield_cuda.h>
Public Member Functions | |
T * | getData () |
const T * | getDataConst () const |
stafieldGPU (const std::size_t shape[], int L, hanalysis::STA_FIELD_STORAGE field_storage, hanalysis::STA_FIELD_TYPE field_type, T *data) | |
stafieldGPU | get (int l) const |
stafieldGPU | operator[] (int l) const |
stafieldGPU | lap (T alpha=T(1)) const |
see Lap | |
stafieldGPU | fft (bool forward, bool conjugate=false, T alpha=T(1)) const |
see FFT | |
stafieldGPU | deriv (int J, bool conjugate=false, std::complex< T > alpha=T(1), int accuracy=0) const |
see Deriv | |
stafieldGPU | prod (const stafieldGPU &b, int J, bool normalize=false, std::complex< T > alpha=T(1)) const |
see Prod | |
![]() | |
bool | operator== (const _stafield &field) const |
bool | operator!= (const _stafield &field) const |
const std::size_t * | getShape () const |
bool | ownMemory () const |
int | getRank () const |
Additional Inherited Members | |
![]() | |
std::size_t | shape [3] |
image shape | |
hanalysis::STA_FIELD_STORAGE | field_storage |
must be either STA_FIELD_STORAGE_C, STA_FIELD_STORAGE_R or STA_FIELD_STORAGE_RF | |
hanalysis::STA_FIELD_TYPE | field_type |
must be either STA_OFIELD_SINGLE, STA_OFIELD_FULL, STA_OFIELD_EVEN or STA_OFIELD_ODD | |
int | L |
tensor rank ![]() | |
represents spherical tensor fields (GPU version)
|
inline |
creates a spherical tensor field of order
based on existing data. No memory is allocated yet.
shape | |
L | ![]() |
data | pointer to existing memory |
|
inline |
|
inline |
|
inline |
|
inline |