mlib_VectorMag_U8C(3MLIB) mediaLib Library Functions mlib_VectorMag_U8C(3MLIB)NAME
mlib_VectorMag_U8C, mlib_VectorMag_S8C, mlib_VectorMag_S16C, mlib_VectorMag_S32C - vector complex magnitude
SYNOPSIS
cc [ flag... ] file... -lmlib [ library... ]
#include <mlib.h>
mlib_status mlib_VectorMag_U8C(mlib_d64 *m, const mlib_u8 *x, mlib_s32 n);
mlib_status mlib_VectorMag_S8C(mlib_d64 *m, const mlib_s8 *x, mlib_s32 n);
mlib_status mlib_VectorMag_S16C(mlib_d64 *m, const mlib_s16 *x, mlib_s32 n);
mlib_status mlib_VectorMag_S32C(mlib_d64 *m, const mlib_s32 *x, mlib_s32 n);
DESCRIPTION
Each of these functions computes the magnitude vector of the complex input vector.
The following equation is used:
m[i] = (x[2*i]**2 + x[2*i + 1]**2)**0.5
where i = 0, 1, ..., (n - 1).
PARAMETERS
Each of the functions takes the following arguments:
m Pointer to the destination magnitude 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_VectorMag_U8C(3MLIB)
Check Out this Related Man Page
mlib_VectorMag_U8C(3MLIB) mediaLib Library Functions mlib_VectorMag_U8C(3MLIB)NAME
mlib_VectorMag_U8C, mlib_VectorMag_S8C, mlib_VectorMag_S16C, mlib_VectorMag_S32C - vector complex magnitude
SYNOPSIS
cc [ flag... ] file... -lmlib [ library... ]
#include <mlib.h>
mlib_status mlib_VectorMag_U8C(mlib_d64 *m, const mlib_u8 *x, mlib_s32 n);
mlib_status mlib_VectorMag_S8C(mlib_d64 *m, const mlib_s8 *x, mlib_s32 n);
mlib_status mlib_VectorMag_S16C(mlib_d64 *m, const mlib_s16 *x, mlib_s32 n);
mlib_status mlib_VectorMag_S32C(mlib_d64 *m, const mlib_s32 *x, mlib_s32 n);
DESCRIPTION
Each of these functions computes the magnitude vector of the complex input vector.
The following equation is used:
m[i] = (x[2*i]**2 + x[2*i + 1]**2)**0.5
where i = 0, 1, ..., (n - 1).
PARAMETERS
Each of the functions takes the following arguments:
m Pointer to the destination magnitude 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_VectorMag_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)