A high-performance general-purpose compute library

Functions

array sqrt (const array &in)
 C++ Interface to evaluate the square root.
 
af_err af_sqrt (af_array *out, const af_array in)
 C Interface to evaluate the square root.
 

Detailed Description

Evaluate the square root.

Function Documentation

◆ af_sqrt()

af_err af_sqrt ( af_array * out,
const af_array in )

C Interface to evaluate the square root.

Parameters
[out]outsquare root
[in]ininput array
Returns
AF_SUCCESS, if function returns successfully, else an af_err code is given

◆ sqrt()

array sqrt ( const array & in)

C++ Interface to evaluate the square root.

Parameters
[in]ininput
Returns
square root
Examples
financial/heston_model.cpp.