# dcabs1

Computes absolute value of double complex number.

## Syntax

FORTRAN 77:

res = dcabs1(z)

Fortran 95:

res = dcabs1(z)

## Description

The dcabs1 is an auxiliary routine for a few BLAS Level 1 routines. This function performs an operation defined as
`res=|Re(z)|+|Im(z)|,`

where z is a scalar and res is a value containing the absolute value of a double complex number z.

## Input Parameters

z

  DOUBLE COMPLEX scalar.

## Output Parameters

res

  DOUBLE PRECISION.

  Contains the absolute value of a double complex number z.

Parent topic: BLAS Level 1 Routines