Developer Reference

  • 2020
  • 07/15/2020
  • Public Content
Contents

VectorJaehne

Creates a Jaehne vector.

Syntax

IppStatus ippsVectorJaehne_8u(Ipp8u*
pDst
, int
len
, Ipp8u
magn
);
IppStatus ippsVectorJaehne_16u(Ipp16u*
pDst
, int
len
, Ipp16u
magn
);
IppStatus ippsVectorJaehne_16s(Ipp16s*
pDst
, int
len
, Ipp16s
magn
);
IppStatus ippsVectorJaehne_32s(Ipp32s*
pDst
, int
len
, Ipp32s
magn
);
IppStatus ippsVectorJaehne_32f(Ipp32f*
pDst
, int
len
, Ipp32f
magn
);
IppStatus ippsVectorJaehne_64f(Ipp64f*
pDst
, int
len
, Ipp64f
magn
);
Include Files
ipps.h
Domain Dependencies
Headers:
ippcore.h
,
ippvm.h
Libraries:
ippcore.lib
,
ippvm.lib
Parameters
pDst
Pointer to the destination vector.
len
Number of elements in the vector.
magn
Magnitude of the signal to be generated.
Description
This function creates a Jaehne vector and stores the result in
pDst
. The magnitude
magn
must be positive. The function generates the sinusoid with a variable frequency. The computation is performed as follows:
pDst
[
n
] =
magn
* sin ((0.5π
n
2
)/
len
)
,
0
n <
len
Return Values
ippStsNoErr
Indicates no error.
ippStsNullPtrErr
Indicates an error when the
pSrcDst
pointer is
NULL
.
ippStsSizeErr
Indicates an error when
len
is less than or equal to 0.
ippStsJaehneErr
Indicates an error when
magn
is negative.

Example

The code example below shows how to use the function
ippsVectorJaehne
.
IppStatus Jaehne (void) { Ipp16s buf[100] ; return ippsVectorJaehne_16s ( buf, 100, 255 ); }

Product and Performance Information

1

Intel's compilers may or may not optimize to the same degree for non-Intel microprocessors for optimizations that are not unique to Intel microprocessors. These optimizations include SSE2, SSE3, and SSSE3 instruction sets and other optimizations. Intel does not guarantee the availability, functionality, or effectiveness of any optimization on microprocessors not manufactured by Intel. Microprocessor-dependent optimizations in this product are intended for use with Intel microprocessors. Certain optimizations not specific to Intel microarchitecture are reserved for Intel microprocessors. Please refer to the applicable product User and Reference Guides for more information regarding the specific instruction sets covered by this notice.

Notice revision #20110804