---
name: "la_wwaddw"
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/la_wwaddw"
---

# la\_wwaddw(3)

la\_wwaddw: add to double-double or single-single vector

## NAME

la\_wwaddw - la\_wwaddw: add to double-double or single-single vector

## SYNOPSIS

### Functions

subroutine **cla\_wwaddw** (n, x, y, w)\
 **CLA\_WWADDW** adds a vector into a doubled-single vector.  subroutine **dla\_wwaddw** (n, x, y, w)\
 **DLA\_WWADDW** adds a vector into a doubled-single vector.  subroutine **sla\_wwaddw** (n, x, y, w)\
 **SLA\_WWADDW** adds a vector into a doubled-single vector.  subroutine **zla\_wwaddw** (n, x, y, w)\
 **ZLA\_WWADDW** adds a vector into a doubled-single vector.

## Detailed Description

## Function 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**.

### subroutine dla\_wwaddw (integer n, double precision, dimension( \* ) x, double precision, dimension( \* ) y, double precision, dimension( \* ) w)

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

**Purpose:**

```
!>
!>    DLA_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 DOUBLE PRECISION array, dimension (N)
!>            The first part of the doubled-single accumulation vector.
!>
```

*Y*

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

*W*

```
!>          W is DOUBLE PRECISION 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 **dla\_wwaddw.f**.

### subroutine sla\_wwaddw (integer n, real, dimension( \* ) x, real, dimension( \* ) y, real, dimension( \* ) w)

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

**Purpose:**

```
!>
!>    SLA_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 REAL array, dimension (N)
!>            The first part of the doubled-single accumulation vector.
!>
```

*Y*

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

*W*

```
!>          W is REAL 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 **sla\_wwaddw.f**.

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

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

**Purpose:**

```
!>
!>    ZLA_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*16 array, dimension (N)
!>            The first part of the doubled-single accumulation vector.
!>
```

*Y*

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

*W*

```
!>          W is COMPLEX*16 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 **zla\_wwaddw.f**.

## Author

Generated automatically by Doxygen for LAPACK from the source code.
