Math Vector Library
Programming Reference Manual C/C++
Version 1.0 DD-00002-010

12.11 vcpows - Vector complex power scalar exponent xy

#include <mvec.h>

void vcpows (int n, double complex *z, int incz, const double complex *x, int incx, double complex y);
void vcpowsf(int n, float complex *z, int incz, const float complex *x, int incx, float complex y);

Given an input vectors x  and a scalar value y as well as a result vector z  , this function computes:

z= xy

12.11.1 Parameters

N - INTEGER

ENTRY: Number of elements of x  and y  .
CONSTRAINT: n ≥1  .

z - ARRAY OF COMPLEX

EXIT: Result vector z  .
CONSTRAINT: Must contain n× incz  elements.
CONSTRAINT: Must not overlap with array x  .

INCZ - INTEGER

ENTRY: Stride for the vector z  .
CONSTRAINT: incz> 0  .

X - ARRAY OF COMPLEX

ENTRY: Input vector x  .
CONSTRAINT: Must contain n× incx  elements.
CONSTRAINT: Must not overlap with array z  .

INCX - INTEGER

ENTRY: Stride for the vector x  .
CONSTRAINT: incx> 0  .

Y - COMPLEX

ENTRY: Exponentiation value y .