Click or drag to resize

MatrixMathHypotenuse Method

Calculates the hypotenuse length of a and b, i.e. the sqrt(a^2+b^2), avoiding overflow at large values.

Namespace: Altaxo.Calc.LinearAlgebra
Assembly: AltaxoCore (in AltaxoCore.dll) Version: 4.8.3179.0 (4.8.3179.0)
Syntax
C#
public static double Hypotenuse(
	double a,
	double b
)

Parameters

a  Double
First parameter.
b  Double
Second parameter.

Return Value

Double
The square root of (a^2+b^2).
See Also