Click or drag to resize

IntegrationBasetest_positivity Method

Test whether the computed result is consistent with a positive integrand based on the absolute result.

Namespace: Altaxo.Calc.Integration
Assembly: AltaxoCore (in AltaxoCore.dll) Version: 4.8.3448.0 (4.8.3448.0)
Syntax
C#
protected static bool test_positivity(
	double result,
	double resabs
)

Parameters

result  Double
Computed integral result.
resabs  Double
Absolute result used for the positivity check.

Return Value

Boolean
true when the result magnitude is close to the absolute result, indicating a positive integrand.
See Also