Adelsbach/VSIPL
Core Light Double Precision Programming Reference Guide
DD-00014-015
Core Light +DP

3.1 vsip_cstorage_p - Complex storage type

typedef enum _vsip_cmplx_mem { 
  VSIP_CMPLX_INTERLEAVED, 
  VSIP_CMPLX_SPLIT, 
  VSIP_CMPLX_NONE 
} vsip_cmplx_mem; 
 
vsip_cmplx_mem vsip_cstorage_f(void); 
vsip_cmplx_mem vsip_cstorage_d(void); 
 
/* deprecated */ 
vsip_cmplx_mem vsip_cstorage(void);
Description

These functions query the manner in which complex values are stored. This can be in interleaved (real followed by imaginary part in one vector) or split format (two separate vectors).

Return Value
Example

vsip_cmplx_mem complex_storage; 
 
// Allocate complex storage using the preferred method 
complex_storage = vsip_cstorage_f();