|
5 | 5 | <metahttp-equiv="Content-Type"content="text/xhtml;charset=UTF-8"/> |
6 | 6 | <metahttp-equiv="X-UA-Compatible"content="IE=9"/> |
7 | 7 | <metaname="generator"content="Doxygen 1.8.9.1"/> |
8 | | -<title>arith.h (2016-03-16 20:05:50 -0400, (buildf53efc3)) Source File</title> |
| 8 | +<title>arith.h (2016-03-24 10:12:51 -0400, (build0e060e4)) Source File</title> |
9 | 9 | <linkhref="tabs.css"rel="stylesheet"type="text/css"/> |
10 | 10 | <scripttype="text/javascript"src="jquery.js"></script> |
11 | 11 | <scripttype="text/javascript"src="dynsections.js"></script> |
|
83 | 83 | <divid="doc-content"> |
84 | 84 | <divclass="header"> |
85 | 85 | <divclass="headertitle"> |
86 | | -<divclass="title">arith.h (2016-03-16 20:05:50 -0400, (buildf53efc3))</div></div> |
| 86 | +<divclass="title">arith.h (2016-03-24 10:12:51 -0400, (build0e060e4))</div></div> |
87 | 87 | </div><!--header--> |
88 | 88 | <divclass="contents"> |
89 | 89 | <ahref="arith_8h.htm">Go to the documentation of this file.</a><divclass="fragment"><divclass="line"><aname="l00001"></a><spanclass="lineno"> 1</span> <spanclass="comment">/*******************************************************</span></div> |
|
448 | 448 | <divclass="ttc"id="group__arith__func__isinf_htm_ga933758a10227f15697ff503339e86823"><divclass="ttname"><ahref="group__arith__func__isinf.htm#ga933758a10227f15697ff503339e86823">af_isinf</a></div><divclass="ttdeci">AFAPI af_err af_isinf(af_array *out, const af_array in)</div><divclass="ttdoc">C Interface for checking if values are infinities.</div></div> |
449 | 449 | <divclass="ttc"id="arith_8h_htm_ae7aa04bf23b32bb11c4bab8bdd637103"><divclass="ttname"><ahref="arith_8h.htm#ae7aa04bf23b32bb11c4bab8bdd637103">af_lt</a></div><divclass="ttdeci">AFAPI af_err af_lt(af_array *out, const af_array lhs, const af_array rhs, const bool batch)</div><divclass="ttdoc">C Interface for checking if an array is less than another.</div></div> |
450 | 450 | <divclass="ttc"id="group__arith__func__floor_htm_ga4e716c1d12d13628844bfcd567fbfefe"><divclass="ttname"><ahref="group__arith__func__floor.htm#ga4e716c1d12d13628844bfcd567fbfefe">af_hypot</a></div><divclass="ttdeci">AFAPI af_err af_hypot(af_array *out, const af_array lhs, const af_array rhs, const bool batch)</div><divclass="ttdoc">C Interface for getting length of hypotenuse of two arrays.</div></div> |
451 | | -<divclass="ttc"id="namespaceafcl_htm_a5434aaf76be37fae92ac5086315516f0"><divclass="ttname"><ahref="namespaceafcl.htm#a5434aaf76be37fae92ac5086315516f0">afcl::array</a></div><divclass="ttdeci">static af::array array(af::dim4 idims, cl_mem buf, af::dtype type, bool retain=false)</div><divclass="ttdoc">Create an af::array object from an OpenCL cl_mem buffer.</div><divclass="ttdef"><b>Definition:</b> opencl.h:337</div></div> |
| 451 | +<divclass="ttc"id="namespaceafcl_htm_a5434aaf76be37fae92ac5086315516f0"><divclass="ttname"><ahref="namespaceafcl.htm#a5434aaf76be37fae92ac5086315516f0">afcl::array</a></div><divclass="ttdeci">static af::array array(af::dim4 idims, cl_mem buf, af::dtype type, bool retain=false)</div><divclass="ttdoc">Create an af::array object from an OpenCL cl_mem buffer.</div><divclass="ttdef"><b>Definition:</b> opencl.h:329</div></div> |
452 | 452 | <divclass="ttc"id="group__arith__func__acosh_htm_gafebe073681f1a4269920a42dddf7551c"><divclass="ttname"><ahref="group__arith__func__acosh.htm#gafebe073681f1a4269920a42dddf7551c">af_acosh</a></div><divclass="ttdeci">AFAPI af_err af_acosh(af_array *out, const af_array in)</div><divclass="ttdoc">C Interface for acosh.</div></div> |
453 | 453 | <divclass="ttc"id="group__arith__func__floor_htm_ga3e75b4b34f55a6ce68cfa762eff995a6"><divclass="ttname"><ahref="group__arith__func__floor.htm#ga3e75b4b34f55a6ce68cfa762eff995a6">af::floor</a></div><divclass="ttdeci">AFAPI array floor(const array &in)</div><divclass="ttdoc">C++ Interface for flooring an array of numbers.</div></div> |
454 | 454 | <divclass="ttc"id="group__arith__func__div_htm_ga21f3f97755702692ec8976934e75fde6"><divclass="ttname"><ahref="group__arith__func__div.htm#ga21f3f97755702692ec8976934e75fde6">af_div</a></div><divclass="ttdeci">AFAPI af_err af_div(af_array *out, const af_array lhs, const af_array rhs, const bool batch)</div><divclass="ttdoc">C Interface for dividing an array by another.</div></div> |
455 | 455 | <divclass="ttc"id="group__arith__func__log_htm_gaf15f1af67e62541e0322f4c94acd0293"><divclass="ttname"><ahref="group__arith__func__log.htm#gaf15f1af67e62541e0322f4c94acd0293">af::log</a></div><divclass="ttdeci">AFAPI array log(const array &in)</div><divclass="ttdoc">C++ Interface for natural logarithm.</div></div> |
456 | 456 | <divclass="ttc"id="group__arith__func__expm1_htm_gae085a00e6da69ca27ecc660552ab61f9"><divclass="ttname"><ahref="group__arith__func__expm1.htm#gae085a00e6da69ca27ecc660552ab61f9">af::expm1</a></div><divclass="ttdeci">AFAPI array expm1(const array &in)</div><divclass="ttdoc">C++ Interface for exponential of an array minus 1.</div></div> |
457 | 457 | <divclass="ttc"id="group__arith__func__tan_htm_ga5444749c3b32afa8097eab85634053ff"><divclass="ttname"><ahref="group__arith__func__tan.htm#ga5444749c3b32afa8097eab85634053ff">af::tan</a></div><divclass="ttdeci">AFAPI array tan(const array &in)</div><divclass="ttdoc">C++ Interface for tan.</div></div> |
458 | | -<divclass="ttc"id="defines_8h_htm_a82b94dc53bbd100a0e8ca9dd356aaf4f"><divclass="ttname"><ahref="defines_8h.htm#a82b94dc53bbd100a0e8ca9dd356aaf4f">af_err</a></div><divclass="ttdeci">af_err</div><divclass="ttdef"><b>Definition:</b> defines.h:67</div></div> |
| 458 | +<divclass="ttc"id="defines_8h_htm_a82b94dc53bbd100a0e8ca9dd356aaf4f"><divclass="ttname"><ahref="defines_8h.htm#a82b94dc53bbd100a0e8ca9dd356aaf4f">af_err</a></div><divclass="ttdeci">af_err</div><divclass="ttdef"><b>Definition:</b> defines.h:63</div></div> |
459 | 459 | <divclass="ttc"id="group__arith__func__ge_htm_ga4513f212e0b0a22dcf4653e89c85e3d9"><divclass="ttname"><ahref="group__arith__func__ge.htm#ga4513f212e0b0a22dcf4653e89c85e3d9">af_ge</a></div><divclass="ttdeci">AFAPI af_err af_ge(af_array *out, const af_array lhs, const af_array rhs, const bool batch)</div><divclass="ttdoc">C Interface for checking if an array is greater or equal to another.</div></div> |
460 | 460 | <divclass="ttc"id="group__arith__func__round_htm_ga2d55dfb9b25e0a1316b70f01d5b44b35"><divclass="ttname"><ahref="group__arith__func__round.htm#ga2d55dfb9b25e0a1316b70f01d5b44b35">af_sign</a></div><divclass="ttdeci">AFAPI af_err af_sign(af_array *out, const af_array in)</div><divclass="ttdoc">C Interface for finding the sign of the input.</div></div> |
461 | 461 | <divclass="ttc"id="group__arith__func__atan_htm_ga05b56256e8687f4afcba10694b76885c"><divclass="ttname"><ahref="group__arith__func__atan.htm#ga05b56256e8687f4afcba10694b76885c">af_atan</a></div><divclass="ttdeci">AFAPI af_err af_atan(af_array *out, const af_array in)</div><divclass="ttdoc">C Interface for arc tan.</div></div> |
|
500 | 500 | <divclass="ttc"id="group__arith__func__bitor_htm_ga84c99f77d1d83fd53f949b4d67b5b210"><divclass="ttname"><ahref="group__arith__func__bitor.htm#ga84c99f77d1d83fd53f949b4d67b5b210">af_bitor</a></div><divclass="ttdeci">AFAPI af_err af_bitor(af_array *out, const af_array lhs, const af_array rhs, const bool batch)</div><divclass="ttdoc">C Interface for performing bitwise or on two arrays.</div></div> |
501 | 501 | <divclass="ttc"id="group__arith__func__tgamma_htm_ga94789bb78e2aae684b8cadcde1c2b434"><divclass="ttname"><ahref="group__arith__func__tgamma.htm#ga94789bb78e2aae684b8cadcde1c2b434">af_tgamma</a></div><divclass="ttdeci">AFAPI af_err af_tgamma(af_array *out, const af_array in)</div><divclass="ttdoc">C Interface for the gamma function.</div></div> |
502 | 502 | <divclass="ttc"id="group__arith__func__cbrt_htm_ga72f50f5c8039ca08b7cb58f01d9814a8"><divclass="ttname"><ahref="group__arith__func__cbrt.htm#ga72f50f5c8039ca08b7cb58f01d9814a8">af_cbrt</a></div><divclass="ttdeci">AFAPI af_err af_cbrt(af_array *out, const af_array in)</div><divclass="ttdoc">C Interface for cube root.</div></div> |
503 | | -<divclass="ttc"id="defines_8h_htm_a8e45f4aa3dbea6a7aa021dbc50a4a089"><divclass="ttname"><ahref="defines_8h.htm#a8e45f4aa3dbea6a7aa021dbc50a4a089">af_array</a></div><divclass="ttdeci">void * af_array</div><divclass="ttdef"><b>Definition:</b> defines.h:226</div></div> |
| 503 | +<divclass="ttc"id="defines_8h_htm_a8e45f4aa3dbea6a7aa021dbc50a4a089"><divclass="ttname"><ahref="defines_8h.htm#a8e45f4aa3dbea6a7aa021dbc50a4a089">af_array</a></div><divclass="ttdeci">void * af_array</div><divclass="ttdef"><b>Definition:</b> defines.h:222</div></div> |
504 | 504 | <divclass="ttc"id="group__arith__func__max_htm_ga0cd47e70cf82b48730a97c59f494b421"><divclass="ttname"><ahref="group__arith__func__max.htm#ga0cd47e70cf82b48730a97c59f494b421">af_maxof</a></div><divclass="ttdeci">AFAPI af_err af_maxof(af_array *out, const af_array lhs, const af_array rhs, const bool batch)</div><divclass="ttdoc">C Interface for max of two arrays.</div></div> |
505 | 505 | <divclass="ttc"id="group__arith__func__cos_htm_gaebb0ff5e77be24320b326165ed35efbf"><divclass="ttname"><ahref="group__arith__func__cos.htm#gaebb0ff5e77be24320b326165ed35efbf">af_cos</a></div><divclass="ttdeci">AFAPI af_err af_cos(af_array *out, const af_array in)</div><divclass="ttdoc">C Interface for cos.</div></div> |
506 | 506 | <divclass="ttc"id="group__reduce__func__min_htm_ga2b1287d1babb569d28bc6ee1c8e8e1ea"><divclass="ttname"><ahref="group__reduce__func__min.htm#ga2b1287d1babb569d28bc6ee1c8e8e1ea">af::min</a></div><divclass="ttdeci">AFAPI array min(const array &in, const int dim=-1)</div><divclass="ttdoc">C++ Interface for minimum values in an array.</div></div> |
|
512 | 512 | <divclass="ttc"id="namespaceaf_htm_a83c8f1181fc87c30d649f3f1eb26a860"><divclass="ttname"><ahref="namespaceaf.htm#a83c8f1181fc87c30d649f3f1eb26a860">af::sigmoid</a></div><divclass="ttdeci">AFAPI array sigmoid(const array &in)</div><divclass="ttdoc">C++ Interface for calculating sigmoid function of an array.</div></div> |
513 | 513 | <divclass="ttc"id="group__arith__func__abs_htm_gaae9670ec823c309ac0f8d53bfbf05886"><divclass="ttname"><ahref="group__arith__func__abs.htm#gaae9670ec823c309ac0f8d53bfbf05886">af_abs</a></div><divclass="ttdeci">AFAPI af_err af_abs(af_array *out, const af_array in)</div><divclass="ttdoc">C Interface for absolute value.</div></div> |
514 | 514 | <divclass="ttc"id="group__arith__func__not_htm_gae43c58913317abc7fa16462e6336c98b"><divclass="ttname"><ahref="group__arith__func__not.htm#gae43c58913317abc7fa16462e6336c98b">af_not</a></div><divclass="ttdeci">AFAPI af_err af_not(af_array *out, const af_array in)</div><divclass="ttdoc">C Interface for performing logical not on input.</div></div> |
515 | | -<divclass="ttc"id="defines_8h_htm_a023d8ac325fb14f1712a52fb0940b1d5"><divclass="ttname"><ahref="defines_8h.htm#a023d8ac325fb14f1712a52fb0940b1d5">af_dtype</a></div><divclass="ttdeci">af_dtype</div><divclass="ttdef"><b>Definition:</b> defines.h:199</div></div> |
| 515 | +<divclass="ttc"id="defines_8h_htm_a023d8ac325fb14f1712a52fb0940b1d5"><divclass="ttname"><ahref="defines_8h.htm#a023d8ac325fb14f1712a52fb0940b1d5">af_dtype</a></div><divclass="ttdeci">af_dtype</div><divclass="ttdef"><b>Definition:</b> defines.h:195</div></div> |
516 | 516 | <divclass="ttc"id="group__arith__func__ceil_htm_gae5acbe2232fa02979af707ac3ff4c130"><divclass="ttname"><ahref="group__arith__func__ceil.htm#gae5acbe2232fa02979af707ac3ff4c130">af::ceil</a></div><divclass="ttdeci">AFAPI array ceil(const array &in)</div><divclass="ttdoc">C++ Interface for ceiling an array of numbers.</div></div> |
517 | 517 | <divclass="ttc"id="group__arith__func__pow_htm_ga299da8cda1458a6cb7adba9718ec613d"><divclass="ttname"><ahref="group__arith__func__pow.htm#ga299da8cda1458a6cb7adba9718ec613d">af::pow</a></div><divclass="ttdeci">AFAPI array pow(const array &lhs, const array &rhs)</div><divclass="ttdoc">C++ Interface for power.</div></div> |
518 | 518 | <divclass="ttc"id="group__arith__func__sin_htm_gac6fdb44f59fbbffdc55c9c4af29e08f4"><divclass="ttname"><ahref="group__arith__func__sin.htm#gac6fdb44f59fbbffdc55c9c4af29e08f4">af::sin</a></div><divclass="ttdeci">AFAPI array sin(const array &in)</div><divclass="ttdoc">C++ Interface for sin.</div></div> |
|