·  Home
+   man pages
 -> Linux -> FreeBSD -> OpenBSD -> NetBSD -> Tru64 Unix -> HP-UX 11i -> IRIX
·  Linux HOWTOs
·  FreeBSD Tips
·  *niX Forums

man pages->IRIX man pages -> complib/scsum1 (3)
 Title
 Content
 Arch
 Section All Sections 1 - General Commands 2 - System Calls 3 - Subroutines 4 - Special Files 5 - File Formats 6 - Games 7 - Macros and Conventions 8 - Maintenance Commands 9 - Kernel Interface n - New Commands

### Contents

```
SCSUM1(3F)							    SCSUM1(3F)

```

### NAME[Toc][Back]

```     SCSUM1 - take the sum of the absolute values of a complex vector and
returns a single precision	result
```

### SYNOPSIS[Toc][Back]

```     REAL FUNCTION SCSUM1( N, CX, INCX )

INTEGER   INCX, N

COMPLEX   CX( * )
```

### PURPOSE[Toc][Back]

```     SCSUM1 takes the sum of the absolute values of a complex vector and
returns a single precision	result.

Based on SCASUM from the Level 1 BLAS.
The change	is to use the 'genuine'	absolute value.

Contributed by Nick Higham	for use	with CLACON.

```

### ARGUMENTS[Toc][Back]

```     N	     (input) INTEGER
The number	of elements in the vector CX.

CX	     (input) COMPLEX array, dimension (N)
The vector	whose elements will be summed.

INCX    (input) INTEGER
The spacing between successive values of CX.  INCX	> 0.
SCSUM1(3F)							    SCSUM1(3F)

```

### NAME[Toc][Back]

```     SCSUM1 - take the sum of the absolute values of a complex vector and
returns a single precision	result
```

### SYNOPSIS[Toc][Back]

```     REAL FUNCTION SCSUM1( N, CX, INCX )

INTEGER   INCX, N

COMPLEX   CX( * )
```

### PURPOSE[Toc][Back]

```     SCSUM1 takes the sum of the absolute values of a complex vector and
returns a single precision	result.

Based on SCASUM from the Level 1 BLAS.
The change	is to use the 'genuine'	absolute value.

Contributed by Nick Higham	for use	with CLACON.

```

### ARGUMENTS[Toc][Back]

```     N	     (input) INTEGER
The number	of elements in the vector CX.

CX	     (input) COMPLEX array, dimension (N)
The vector	whose elements will be summed.

INCX    (input) INTEGER
The spacing between successive values of CX.  INCX	> 0.

PPPPaaaaggggeeee 1111```
[ Back ]
Similar pages