<ahref="complex_8h.htm">Go to the documentation of this file.</a><divclass="fragment"><divclass="line"><aid="l00001" name="l00001"></a><spanclass="lineno"> 1</span><spanclass="comment">/*******************************************************</span></div>
<divclass="line"><aid="l00005" name="l00005"></a><spanclass="lineno"> 5</span><spanclass="comment"> * This file is distributed under 3-clause BSD license.</span></div>
<divclass="line"><aid="l00006" name="l00006"></a><spanclass="lineno"> 6</span><spanclass="comment"> * The complete license agreement can be obtained at:</span></div>
<divclass="line"><aid="l00053" name="l00053"></a><spanclass="lineno"> 53</span><spanclass="comment">// +,-,*,/ for (cfloat, cfloat) and (cdouble, cdouble)</span></div>
<divclass="line"><aid="l00065" name="l00065"></a><spanclass="lineno"> 65</span><spanclass="comment">// +,/ for (cfloat, double) and (cdouble, double)</span></div>
<divclass="line"><aid="l00076" name="l00076"></a><spanclass="lineno"> 76</span><spanclass="comment">// -,* for (cfloat, double) and (cdouble, double)</span></div>
<divclass="ttc" id="agroup__arith__func__abs_htm_ga04a72240299a891b0d950e2c517e4a9e"><divclass="ttname"><ahref="group__arith__func__abs.htm#ga04a72240299a891b0d950e2c517e4a9e">af::abs</a></div><divclass="ttdeci">AFAPI array abs(const array &in)</div><divclass="ttdoc">C++ Interface to calculate the absolute value.</div></div>
<divclass="ttc" id="agroup__arith__func__eq_htm_gaa06c948dd656312c23268d11ad8773e9"><divclass="ttname"><ahref="group__arith__func__eq.htm#gaa06c948dd656312c23268d11ad8773e9">af::operator==</a></div><divclass="ttdeci">AFAPI array operator==(const array &lhs, const array &rhs)</div><divclass="ttdoc">Performs an equality operation on two arrays or an array and a value.</div></div>
<divclass="ttc" id="agroup__arith__func__imag_htm_gafc5d46cd82835c90cf030f31ef5f904b"><divclass="ttname"><ahref="group__arith__func__imag.htm#gafc5d46cd82835c90cf030f31ef5f904b">af::imag</a></div><divclass="ttdeci">AFAPI array imag(const array &in)</div><divclass="ttdoc">C++ Interface to return the imaginary part of a complex array.</div></div>
<divclass="ttc" id="agroup__arith__func__neq_htm_ga800463531c9a4d8f81d0e729383ce520"><divclass="ttname"><ahref="group__arith__func__neq.htm#ga800463531c9a4d8f81d0e729383ce520">af::operator!=</a></div><divclass="ttdeci">AFAPI array operator!=(const array &lhs, const array &rhs)</div><divclass="ttdoc">Performs an inequality operation on two arrays or an array and a value.</div></div>
<divclass="ttc" id="agroup__arith__func__real_htm_ga58d06a6595a56ad5f79a7cfebaf2ca9e"><divclass="ttname"><ahref="group__arith__func__real.htm#ga58d06a6595a56ad5f79a7cfebaf2ca9e">af::real</a></div><divclass="ttdeci">AFAPI array real(const array &in)</div><divclass="ttdoc">C++ Interface to return the real part of a complex array.</div></div>
<divclass="ttc" id="agroup__arith__func__shiftl_htm_ga19841f8e962cdccd8dd857d7f9242862"><divclass="ttname"><ahref="group__arith__func__shiftl.htm#ga19841f8e962cdccd8dd857d7f9242862">af::operator<<</a></div><divclass="ttdeci">AFAPI array operator<<(const array &lhs, const array &rhs)</div><divclass="ttdoc">Performs an left shift operation on two arrays or an array and a value.</div></div>
<divclass="ttc" id="agroup__arith__func__shiftr_htm_gad130d9b296937446da493f7f7f659178"><divclass="ttname"><ahref="group__arith__func__shiftr.htm#gad130d9b296937446da493f7f7f659178">af::operator>></a></div><divclass="ttdeci">AFAPI array operator>>(const array &lhs, const array &rhs)</div><divclass="ttdoc">Performs an right shift operation on two arrays or an array and a value.</div></div>