My Project

Square root of input arrays. More...

Functions

AFAPI array sqrt (const array &in)
 C++ Interface for square root of input.
 
AFAPI af_err af_sqrt (af_array *out, const af_array in)
 C Interface for square root.
 

Detailed Description

Square root of input arrays.

Note
This function supports real inputs only. Complex inputs are not yet supported.

Function Documentation

◆ af_sqrt()

AFAPI af_err af_sqrt ( af_array out,
const af_array  in 
)

C Interface for square root.

Parameters
[out]outwill contain the square root of in
[in]inis input
Returns
AF_SUCCESS if the execution completes properly

◆ sqrt()

AFAPI array sqrt ( const array in)

C++ Interface for square root of input.

Parameters
[in]inis input
Returns
the square root of input
Examples
financial/heston_model.cpp.