Adelsbach/VSIPL
Core Light Programming Reference Guide
DD-00014-015
Core Light

3.2 vsip_real_p - Complex Real part

vsip_scalar_f vsip_real_f(vsip_cscalar_f x);
Description

This function extracts the real part of the complex scalar x.

Parameters
Return Value
Example

vsip_cscalar_f complex_value = {1.0, 2.0}; 
vsip_scalar_f real_part; 
 
real_part = vsip_real_f(complex_value);