DOKK / manpages / debian 13 / liblapack-doc / lapy3.3.en
lapy3(3) LAPACK lapy3(3)

lapy3 - lapy3: robust sqrt( x^2 + y^2 + z^2 )


double precision function dlapy3 (x, y, z)
DLAPY3 returns sqrt(x2+y2+z2). real function slapy3 (x, y, z)
SLAPY3 returns sqrt(x2+y2+z2).

DLAPY3 returns sqrt(x2+y2+z2).

Purpose:


DLAPY3 returns sqrt(x**2+y**2+z**2), taking care not to cause
unnecessary overflow and unnecessary underflow.

Parameters

X


X is DOUBLE PRECISION

Y


Y is DOUBLE PRECISION

Z


Z is DOUBLE PRECISION
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.

SLAPY3 returns sqrt(x2+y2+z2).

Purpose:


SLAPY3 returns sqrt(x**2+y**2+z**2), taking care not to cause
unnecessary overflow and unnecessary underflow.

Parameters

X


X is REAL

Y


Y is REAL

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.

Generated automatically by Doxygen for LAPACK from the source code.

Thu Aug 7 2025 17:26:25 Version 3.12.0