Computes the n-th root of the elements. More...

array root (const array &radicand, const array &n)
 Calculate n - th root of real - valued radicand. More...
 
array root (const array &radicand, const double n)
 Calculate n - th root of real - valued radicand. More...
 
array root (const double radicand, const array &n)
 Calculate n - th root of real - valued radicand. More...
 

Detailed Description

Computes the n-th root of the elements.

This function will compute the n-th root of all the elements in the array

Function Documentation

array af::root ( const array &  radicand,
const array &  n 
)

Calculate n - th root of real - valued radicand.

array af::root ( const array &  radicand,
const double  n 
)

Calculate n - th root of real - valued radicand.

array af::root ( const double  radicand,
const array &  n 
)

Calculate n - th root of real - valued radicand.