·  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/srscl (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

X(1)

Contents

```
SRSCL(3F)							     SRSCL(3F)

```

NAME[Toc][Back]

```     SRSCL - multiplie an n-element real vector	x by the real scalar 1/a
```

SYNOPSIS[Toc][Back]

```     SUBROUTINE	SRSCL( N, SA, SX, INCX )

INTEGER       INCX, N

REAL	       SA

REAL	       SX( * )
```

PURPOSE[Toc][Back]

```     SRSCL multiplies an n-element real	vector x by the	real scalar 1/a.  This
is	done without overflow or underflow as long as
the final result x/a does not overflow or underflow.

```

ARGUMENTS[Toc][Back]

```     N	     (input) INTEGER
The number	of components of the vector x.

SA	     (input) REAL
The scalar	a which	is used	to divide each component of x.	SA
must be >=	0, or the subroutine will divide by zero.

SX	     (input/output) REAL array,	dimension
(1+(N-1)*abs(INCX)) The n-element vector x.

INCX    (input) INTEGER
The increment between successive values of	the vector SX.	> 0:
S
and SX(1+(i-1)*INCX) = x(i),	   1< i<= n
SRSCL(3F)							     SRSCL(3F)

```

NAME[Toc][Back]

```     SRSCL - multiplie an n-element real vector	x by the real scalar 1/a
```

SYNOPSIS[Toc][Back]

```     SUBROUTINE	SRSCL( N, SA, SX, INCX )

INTEGER       INCX, N

REAL	       SA

REAL	       SX( * )
```

PURPOSE[Toc][Back]

```     SRSCL multiplies an n-element real	vector x by the	real scalar 1/a.  This
is	done without overflow or underflow as long as
the final result x/a does not overflow or underflow.

```

ARGUMENTS[Toc][Back]

```     N	     (input) INTEGER
The number	of components of the vector x.

SA	     (input) REAL
The scalar	a which	is used	to divide each component of x.	SA
must be >=	0, or the subroutine will divide by zero.

SX	     (input/output) REAL array,	dimension
(1+(N-1)*abs(INCX)) The n-element vector x.

INCX    (input) INTEGER
The increment between successive values of	the vector SX.	> 0:
S
and SX(1+(i-1)*INCX) = x(i),	   1< i<= n

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