Description
To use vdsp, DSPSplitComplex
seems to be needed according to documents
To use blas package, DSPComplex
will be needed according to this discussion
to achieve to support complex type, using DSPComplex
is ideal?
I must check the difference between DSPComplex
and DSPSplitComplex
at first.
DSPComplex
is the consecutive float values.
Complex data are stored as ordered pairs of floating-point numbers. Because they are stored as ordered pairs, complex vectors require address strides that are multiples of two.
by document
On the other hand, DSPSplitComplex
is stored in different memories
A structure that represents a single-precision complex vector with the real and imaginary parts stored in separate arrays.
by document
So I need to implement the function to connect this difference of memory layout