ArrayFire: sqrt (original) (raw)
Evaluate the square root. More...
| Functions | |
|---|---|
| AFAPI array | sqrt (const array &in) |
| C++ Interface to evaluate the square root. More... | |
| AFAPI af_err | af_sqrt (af_array *out, const af_array in) |
| C Interface to evaluate the square root. More... | |
Detailed Description
Evaluate the square root.
Function Documentation
◆ af_sqrt()
| AFAPI af_err af_sqrt | ( | af_array * | out, |
|---|---|---|---|
| const af_array | in | ||
| ) |
C Interface to evaluate the square root.
Parameters
| [out] | out | square root |
|---|---|---|
| [in] | in | input array |
Returns
AF_SUCCESS, if function returns successfully, else an af_err code is given
| AFAPI array sqrt | ( | const array & | in | ) |
|---|
C++ Interface to evaluate the square root.
Parameters
| [in] | in | input |
|---|
Returns
square root
Examples
financial/heston_model.cpp, pde/bhrt.cpp, and pde/boltzmann_cfd.cpp.