real

Functions
real
Complete List of ArrayFire Functions ArrayFire Functions by Category » Mathematical functions » | Complex operations

Get real part of complex arrays. More...

## Functions
AFAPI array | real (const array &in)
| C++ Interface for getting real part from complex array. More...
AFAPI af_err | af_real (af_array *out, const af_array in)
| C Interface for getting real part from complex array. More...

## Detailed Description

Get real part of complex arrays.

## Function Documentation

## ◆ af_real()

AFAPI af_err af_real | ( | af_array * | out,
|  | const af_array | in
| ) |  |

C Interface for getting real part from complex array.

Parameters

  [out] | out | will contain the real part of `in`
  [in] | in | is complex array

Returns
  AF_SUCCESS if the execution completes properly

## ◆ real()

AFAPI array af::real | ( | const array & | in | ) |

C++ Interface for getting real part from complex array.

Parameters

  [in] | in | is complex array

Returns
  the real part of `in`