IntegrationBasetest_positivity Method |
Test whether the computed result is consistent with a positive integrand based on the absolute result.
Namespace: Altaxo.Calc.IntegrationAssembly: AltaxoCore (in AltaxoCore.dll) Version: 4.8.3448.0 (4.8.3448.0)
Syntaxprotected 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
Booleantrue when the result magnitude is close to the absolute result, indicating a positive integrand.
See Also