Developer Reference

  • 2021
  • 03/26/2021
  • Public Content
Contents

Cubrt

Computes cube root of each element of a vector.

Syntax

IppStatus ippsCubrt_32f(const Ipp32f*
pSrc
, Ipp32f*
pDst
, int
len
);
IppStatus ippsCubrt_32s16s_Sfs(const Ipp32s*
pSrc
, Ipp16s*
pDst
, int
len
, int
scaleFactor
);
Include Files
ipps.h
Domain Dependencies
Headers:
ippcore.h
,
ippvm.h
Libraries:
ippcore.lib
,
ippvm.lib
Parameters
pSrc
Pointer to the source vector.
pDst
Pointer to the destination vector.
len
Number of elements in the vector
scaleFactor
Scale factor, refer to Integer Scaling.
Description
This function computes cube root of each element of
pSrc
and stores the result in the corresponding element of
pDst
.
The computation is performed as follows:
pDst
[
n
] = (
pSrc
[
n
] )
1/3
,
0
n <
len
.
Return Values
ippStsNoErr
Indicates no error.
ippStsNullPtrErr
Indicates an error when the
pDst
or
pSrc
pointer is
NULL
.
ippStsSizeErr
Indicates an error when
len
is less than or equal to 0.

Product and Performance Information

1

Performance varies by use, configuration and other factors. Learn more at www.Intel.com/PerformanceIndex.