mlib_VectorAng_U8C(3MLIB) mediaLib Library Functions mlib_VectorAng_U8C(3MLIB)NAME
mlib_VectorAng_U8C, mlib_VectorAng_S8C, mlib_VectorAng_S16C, mlib_VectorAng_S32C - vector complex phase (angle)
SYNOPSIS
cc [ flag... ] file... -lmlib [ library... ]
#include <mlib.h>
mlib_status mlib_VectorAng_U8C(mlib_d64 *a, const mlib_u8 *x, mlib_s32 n);
mlib_status mlib_VectorAng_S8C(mlib_d64 *a, const mlib_s8 *x, mlib_s32 n);
mlib_status mlib_VectorAng_S16C(mlib_d64 *a, const mlib_s16 *x, mlib_s32 n);
mlib_status mlib_VectorAng_S32C(mlib_d64 *a, const mlib_s32 *x, mlib_s32 n);
DESCRIPTION
Each of these functions computes the phase vector of a complex vector.
The following equation is used:
a[i] = atan(x[2*i + 1] / x[2*i])
where i = 0, 1, ..., (n - 1).
PARAMETERS
Each of the functions takes the following arguments:
a Pointer to the destination phase vector.
x Pointer to the source vector
n Number of elements in the vector.
RETURN VALUES
Each of the functions returns MLIB_SUCCESS if successful. Otherwise it returns MLIB_FAILURE.
ATTRIBUTES
See attributes(5) for descriptions of the following attributes:
+-----------------------------+-----------------------------+
| ATTRIBUTE TYPE | ATTRIBUTE VALUE |
+-----------------------------+-----------------------------+
|Interface Stability |Evolving |
+-----------------------------+-----------------------------+
|MT-Level |MT-Safe |
+-----------------------------+-----------------------------+
SEE ALSO attributes(5)SunOS 5.10 10 Nov 2004 mlib_VectorAng_U8C(3MLIB)
Check Out this Related Man Page
mlib_VectorAng_U8C(3MLIB) mediaLib Library Functions mlib_VectorAng_U8C(3MLIB)NAME
mlib_VectorAng_U8C, mlib_VectorAng_S8C, mlib_VectorAng_S16C, mlib_VectorAng_S32C - vector complex phase (angle)
SYNOPSIS
cc [ flag... ] file... -lmlib [ library... ]
#include <mlib.h>
mlib_status mlib_VectorAng_U8C(mlib_d64 *a,
const mlib_u8 *x, mlib_s32 n);
mlib_status mlib_VectorAng_S8C(mlib_d64 *a,
const mlib_s8 *x, mlib_s32 n);
mlib_status mlib_VectorAng_S16C(mlib_d64 *a,
const mlib_s16 *x, mlib_s32 n);
mlib_status mlib_VectorAng_S32C(mlib_d64 *a,
const mlib_s32 *x, mlib_s32 n);
DESCRIPTION
Each of these functions computes the phase vector of a complex vector.
The following equation is used:
a[i] = atan(x[2*i + 1] / x[2*i])
where i = 0, 1, ..., (n - 1).
PARAMETERS
Each of the functions takes the following arguments:
a Pointer to the destination phase vector.
x Pointer to the source vector
n Number of elements in the vector.
RETURN VALUES
Each of the functions returns MLIB_SUCCESS if successful. Otherwise it returns MLIB_FAILURE.
ATTRIBUTES
See attributes(5) for descriptions of the following attributes:
+-----------------------------+-----------------------------+
| ATTRIBUTE TYPE | ATTRIBUTE VALUE |
+-----------------------------+-----------------------------+
|Interface Stability |Committed |
+-----------------------------+-----------------------------+
|MT-Level |MT-Safe |
+-----------------------------+-----------------------------+
SEE ALSO attributes(5)SunOS 5.11 2 Mar 2007 mlib_VectorAng_U8C(3MLIB)
Another C++ question, please do notify me if this forum is C-only!
:)
I'm having a vector...
vector<Person> x;
... with a class I've defined (Person).
I have several elements in this vector and I would like to save it to a file (binary (?)). And later on open up this file to retrieve... (1 Reply)
Basically I'm trying to avoid writing paragraphs to do it. It is possible I could convert over to a vector<int>'s if that may help. Does anyone know how to do this without really turning it into a huge brainbuster? I have considered using a for() loop but I wasn't able to put anything into practice... (1 Reply)
hello all,
If i have a vector of strings,i wanna get all possible combinations of them,for example,the elements of that vector are
"hello" "world" "!"
I thought the answer should be:
hello world !
hello ! world
world ! hello
world hello !
! hello world
! world hello
However,with... (2 Replies)
Hi all
Really need some help here, i have a vector of pointer "vector<*e.g>store" i need to delete one of the chosen container and it seem like the normal way of deleting a vector cannot work!
P.S new to polymorphism
Thank
Here is a cut out of my codes
for(unsigned... (1 Reply)