Square root of input arrays. More...

Functions

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

Detailed Description

Square root of input arrays.

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

Function Documentation

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
AFAPI array af::sqrt ( const array in)

C++ Interface for square root of input.

Parameters
[in]inis input
Returns
the square root of input
Examples:
black_scholes_options.cpp, brain_segmentation.cpp, deep_belief_net.cpp, fractal.cpp, monte_carlo_options.cpp, naive_bayes.cpp, neural_network.cpp, pi.cpp, and rbm.cpp.