Adelsbach/VSIPL
Core Programming Reference Guide
DD-00016-015
Core

This manual is preliminary and incomplete.
While our Core implementation implements all functions given in the standard we are still working on completing this documentation.

Please refer to the VSIPL standard for a complete function reference of the Core profile until we have completed work on this documentation.

0.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); 
 
/* 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();