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

man pages->IRIX man pages -> libblas/asum (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

```
_ASUM(3F)							     _ASUM(3F)

```

### NAME[Toc][Back]

```     dasum, sasum, dzasum, scasum - BLAS level ONE L1 norm functions.

FORTRAN	77 SYNOPSIS
double precision  dasum( n, x, incx )
integer	       incx, n
double precision  x( 1 )

real	       sasum( n, x, incx )
integer	       incx, n
real	       x( 1 )

double precision  dzasum( n, x, incx )
integer	       incx, n
complex*16	       x( 1 )

real	       scasum( n, x, incx )
integer	       incx, n
complex	       x( 1 )

```

### C SYNOPSIS[Toc][Back]

```     double dasum( n, x, incx )
Integer	       incx, n;
double	       (*x)[ n ];

float sasum( n, x,	incx )
Integer	       incx, n;
real	       (*x)[ n ];

double dzasum( n, x, incx )
Integer	       incx, n;
Zomplex	       (*x)[ n ];

float scasum( n, x, incx )
Integer	       incx, n;

Complex	       (*x)[ n ];
```

### DESCRIPTION[Toc][Back]

```     dasum, sasum, scasum, and dzasum, compute the L1 norm of the vector x of
length n and increment incx.

asum <--- Sum(	Abs( X(i) ) ) )			     dasum and sasum

asum <--- Sum(	Abs(Real(X(i)))	+ Abs(Imag(X(i))) )  dzasum and	scasum

```

### AUTHORS[Toc][Back]

```	  Jack Dongarra, linpack, 3/11/78.

Page 1

_ASUM(3F)							     _ASUM(3F)

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