LAPACK  3.5.0
LAPACK: Linear Algebra PACKage
 All Files Functions Typedefs Macros
slapy3.f File Reference

Go to the source code of this file.

Functions/Subroutines

real function slapy3 (X, Y, Z)
 SLAPY3 returns sqrt(x2+y2+z2). More...
 

Function/Subroutine Documentation

real function slapy3 ( real  X,
real  Y,
real  Z 
)

SLAPY3 returns sqrt(x2+y2+z2).

Download SLAPY3 + dependencies [TGZ] [ZIP] [TXT]

Purpose:
 SLAPY3 returns sqrt(x**2+y**2+z**2), taking care not to cause
 unnecessary overflow.
Parameters
[in]X
          X is REAL
[in]Y
          Y is REAL
[in]Z
          Z is REAL
          X, Y and Z specify the values x, y and z.
Author
Univ. of Tennessee
Univ. of California Berkeley
Univ. of Colorado Denver
NAG Ltd.
Date
September 2012

Definition at line 69 of file slapy3.f.