BoolArray | |
BoolVec | c++ standard template library (STL) vector of type ‘bool’ |
ComplexArray | |
ComplexVec | c++ standard template library (STL) vector of type ‘complex’ |
CoordinateTypes | |
FFTWPlanManyDft | |
FFTWPlanManyDftC2r | |
FFTWPlanManyDftR2c | |
FloatArray | |
FloatVec | c++ standard template library (STL) vector of type ‘float’ |
IntArray | |
IntVec | c++ standard template library (STL) vector of type ‘int’ |
StringArray | |
StringVec | c++ standard template library (STL) vector of type ‘str’ |
TBB2Data | |
TBBData | |
TYPE | |
atype | |
basetype((IntVec) -> <type >) | basetype(FloatArray) -> <type ‘float’> |
btype | str(object=’‘) -> string |
fftw_flags | |
fftw_sign | |
hWEIGHTS | |
type2array((float) -> Vec(0)=[]) | Creates an array with elements of type ‘basetype’. |
type2vector((float) -> Vec(0)=[]) | Creates a vector with elements of type ‘basetype’. |
typename(btype) | basetype(float) -> “float” |
vtype | c++ standard template library (STL) vector of type ‘str’ |
basetype(FloatArray) -> <type ‘float’> basetype(complex) -> <type ‘complex’>
Returns the basic type contained in the vector or array. Input can be either a vector, an array, or a type thereof.
The following variables define list of methods that are assigned to vectors and hArrays depending on the types that are available. E.g. hNew is available for hArrays of all types, while invFFT is only available for comlex vector and array types.
Whenever a new function is defined on the c-side, in the hftools library, it should be added here as well.
Creates an array with elements of type ‘basetype’. Returns None if an array of the basetype does not exist.
Creates a vector with elements of type ‘basetype’. Returns None if a vector of the basetype does not exist.
basetype(float) -> “float” basetype(str) -> “str”
Returns the name of the base type as a short string.