Integer powers of input matrix. More...
Device pointer interface: Matrix power | |||||||||||||||||||
| |||||||||||||||||||
afError | af_matrixPower_S (void **d_out, unsigned n, const float *d_in, float power, unsigned batch, bool *is_cplx) | ||||||||||||||||||
Matrix power for single precision matrix. | |||||||||||||||||||
afError | af_matrixPower_C (void **d_out, unsigned n, const cuComplex *d_in, float power, unsigned batch, bool *is_cplx) | ||||||||||||||||||
Matrix power for single precision, complex matrix. DLA license required. | |||||||||||||||||||
afError | af_matrixPower_D (void **d_out, unsigned n, const double *d_in, double power, unsigned batch, bool *is_cplx) | ||||||||||||||||||
Matrix power for double precision matrix. DLA license required. | |||||||||||||||||||
afError | af_matrixPower_Z (void **d_out, unsigned n, const cuDoubleComplex *d_in, double power, unsigned batch, bool *is_cplx) | ||||||||||||||||||
Matrix power for double precision, complex matrix. DLA license required. |
Integer powers of input matrix.
Double-precision or complex inputs require ArrayFire Pro.
afError af_matrixPower_S | ( | void ** | d_out, |
unsigned | n, | ||
const float * | d_in, | ||
float | power, | ||
unsigned | batch, | ||
bool * | is_cplx | ||
) |
Matrix power for single precision matrix.
DLA license not required for positive powers.
afError af_matrixPower_C | ( | void ** | d_out, |
unsigned | n, | ||
const cuComplex * | d_in, | ||
float | power, | ||
unsigned | batch, | ||
bool * | is_cplx | ||
) |
Matrix power for single precision, complex matrix. DLA license required.
afError af_matrixPower_D | ( | void ** | d_out, |
unsigned | n, | ||
const double * | d_in, | ||
double | power, | ||
unsigned | batch, | ||
bool * | is_cplx | ||
) |
Matrix power for double precision matrix. DLA license required.
afError af_matrixPower_Z | ( | void ** | d_out, |
unsigned | n, | ||
const cuDoubleComplex * | d_in, | ||
double | power, | ||
unsigned | batch, | ||
bool * | is_cplx | ||
) |
Matrix power for double precision, complex matrix. DLA license required.