---
name: "cla_wwaddw.f"
section: "3"
platform: "linux"
package: "lapack-doc"
version: "3.12.1-2"
release: "Arch Linux 2026-11-01"
platforms: ["linux"]
url: "https://new.carta.tech/cla_wwaddw.f"
---

# cla\_wwaddw.f(3)

## NAME

SRC/cla\_wwaddw.f

## SYNOPSIS

### Functions/Subroutines

subroutine **cla\_wwaddw** (n, x, y, w)\
 **CLA\_WWADDW** adds a vector into a doubled-single vector.

## Function/Subroutine Documentation

### subroutine cla\_wwaddw (integer n, complex, dimension( \* ) x, complex, dimension( \* ) y, complex, dimension( \* ) w)

**CLA\_WWADDW** adds a vector into a doubled-single vector.

**Purpose:**

```
!>
!>    CLA_WWADDW adds a vector W into a doubled-single vector (X, Y).
!>
!>    This works for all extant IBM's hex and binary floating point
!>    arithmetic, but not for decimal.
!>
```

**Parameters**

*N*

```
!>          N is INTEGER
!>            The length of vectors X, Y, and W.
!>
```

*X*

```
!>          X is COMPLEX array, dimension (N)
!>            The first part of the doubled-single accumulation vector.
!>
```

*Y*

```
!>          Y is COMPLEX array, dimension (N)
!>            The second part of the doubled-single accumulation vector.
!>
```

*W*

```
!>          W is COMPLEX array, dimension (N)
!>            The vector to be added.
!>
```

**Author**

Univ. of Tennessee

Univ. of California Berkeley

Univ. of Colorado Denver

NAG Ltd.

Definition at line **80** of file **cla\_wwaddw.f**.

## Author

Generated automatically by Doxygen for LAPACK from the source code.
