LogLauricellaF_A

LogLauricellaF_A(a, b, c, x)

Natural logarithm of the Lauricella hypergeometric function of type F_A.

\log\left|F_A^{(\inputDim)}(a; \vect{b}; \vect{c}; \vect{x})\right|

where F_A is defined in LauricellaF_A(). The sign of the function and an estimate of the cancellation level are returned together with the logarithm, so that the value can be reconstructed as \sgn \exp(\mathrm{logValue}).

Parameters:
afloat
bsequence of float
csequence of float
xsequence of float
Returns:
availablebool

Whether the series could be evaluated.

logValuefloat

The natural logarithm of the absolute value of the function.

cancellationfloat

The ratio between the largest term of the series and the absolute value of its sum. Values much larger than 1 indicate a loss of significance.

signfloat

The sign of the function, equal to 1 or -1.

Raises:
TypeErrorIf b, c and x do not have the same dimension.

Notes

The following ResourceMap keys are used:

  • SpecFunc-LauricellaMaximumDegree (UnsignedInteger, default: 1024): maximum degree of the Lauricella series.

  • SpecFunc-LauricellaTolerance (Scalar, default: 1.0e-14): relative tolerance of the Lauricella series. The value must lie in (0, 1).

Examples

>>> import openturns as ot
>>> available, logValue, cancellation, sign = ot.SpecFunc.LogLauricellaF_A(1.5, [2.0], [3.0], [0.5])
>>> available
True
>>> sign
1.0