Raise a base to a power (or exponent). More...
Functions | |
AFAPI af_err | af_pow (af_array *out, const af_array lhs, const af_array rhs, const bool batch) |
C Interface to raise a base to a power (or exponent). More... | |
AFAPI array | pow (const array &base, const array &exponent) |
C++ Interface to raise a base to a power (or exponent). More... | |
AFAPI array | pow (const array &base, const double exponent) |
C++ Interface to raise a base to a power (or exponent). More... | |
AFAPI array | pow (const double base, const array &exponent) |
C++ Interface to raise a base to a power (or exponent). More... | |
AFAPI array | pow2 (const array &in) |
C++ Interface to raise 2 to a power (or exponent). More... | |
Raise a base to a power (or exponent).
C Interface to raise a base to a power (or exponent).
[out] | out | lhs raised to the power of rhs |
[in] | lhs | base |
[in] | rhs | exponent |
[in] | batch | batch mode |
C++ Interface to raise a base to a power (or exponent).
Computes the value of base
raised to the power of exponent
. The inputs can be two arrays or an array and a scalar.
[in] | base | base |
[in] | exponent | exponent |
base
raised to the power of exponent
C++ Interface to raise a base to a power (or exponent).
Computes the value of base
raised to the power of exponent
. The inputs can be two arrays or an array and a scalar.
[in] | base | base |
[in] | exponent | exponent |
base
raised to the power of exponent
C++ Interface to raise a base to a power (or exponent).
Computes the value of base
raised to the power of exponent
. The inputs can be two arrays or an array and a scalar.
[in] | base | base |
[in] | exponent | exponent |
base
raised to the power of exponent