liquid_vectorcf
Variants: liquid_vectorcf, liquid_vectorf
Public Functions
void | liquid_vectorcf_init( |
void | liquid_vectorcf_add( |
void | liquid_vectorcf_addscalar( |
void | liquid_vectorcf_mul( |
void | liquid_vectorcf_mulscalar( |
void | liquid_vectorcf_cexpj( |
void | liquid_vectorcf_carg( |
void | liquid_vectorcf_abs( |
float | liquid_vectorcf_sumsq( |
float | liquid_vectorcf_norm( |
float | liquid_vectorcf_pnorm( |
void | liquid_vectorcf_normalize( |
Interfaces
void liquid_vectorcf_init(
Initialize vector with scalar: x[i] = c (scalar)
- _c :
- _x :
- _n :
void liquid_vectorcf_add(
Add each element pointwise: z[i] = x[i] + y[i]
- _x :
- _y :
- _n :
- _z :
void liquid_vectorcf_addscalar(
Add scalar to each element: y[i] = x[i] + c
- _x :
- _n :
- _c :
- _y :
void liquid_vectorcf_mul(
Multiply each element pointwise: z[i] = x[i] * y[i]
- _x :
- _y :
- _n :
- _z :
void liquid_vectorcf_mulscalar(
Multiply each element with scalar: y[i] = x[i] * c
- _x :
- _n :
- _c :
- _y :
void liquid_vectorcf_cexpj(
Compute complex phase rotation: x[i] = exp{j theta[i]}
- _theta :
- _n :
- _x :
void liquid_vectorcf_carg(
Compute angle of each element: theta[i] = arg{ x[i] }
- _x :
- _n :
- _theta :
void liquid_vectorcf_abs(
Compute absolute value of each element: y[i] = |x[i]|
- _x :
- _n :
- _y :
float liquid_vectorcf_sumsq(
Compute sum of squares: sum{ |x|^2 }
- _x :
- _n :
float liquid_vectorcf_norm(
Compute l-2 norm: sqrt{ sum{ |x|^2 } }
- _x :
- _n :
float liquid_vectorcf_pnorm(
Compute l-p norm: { sum{ |x|^p } }^(1/p)
- _x :
- _n :
- _p :
void liquid_vectorcf_normalize(
Scale vector elements by l-2 norm: y[i] = x[i]/norm(x)
- _x :
- _n :
- _y :