Developer Reference

  • 0.10
  • 10/21/2020
  • Public Content
Contents

?sum1

Forms the 1-norm of the complex vector using the true absolute value.

Syntax

float
scsum1
(
const
MKL_INT
*
n
,
const
MKL_Complex8
*
cx
,
const
MKL_INT
*
incx
)
double
dzsum1
(
const
MKL_INT
*
n
,
const
MKL_Complex16
*
cx
,
const
MKL_INT
*
incx
)
Include Files
  • mkl.h
Description
Given a complex vector
cx
,
scsum1
/
dzsum1
functions take the sum of the absolute values of vector elements and return a single/double precision result, respectively. These functions are based on
scasum
/
dzasum
from Level 1 BLAS, but use the true absolute value and were designed for use with
clacon
/
zlacon
.
Input Parameters
n
Specifies the number of elements in the vector
cx
.
cx
Array, size at least
(1+(
n
-1)*abs
(
incx
))
.
Contains the input vector whose elements will be summed.
incx
Specifies the spacing between successive elements of
cx
(
incx
> 0).
Return Values
Sum of absolute values.

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 reserverd 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