s11aa Method
関数リスト一覧   NagLibrary Namespaceへ  ライブラリイントロダクション  本ヘルプドキュメントのchm形式版

s11aa returns the value of the inverse hyperbolic tangent, arctanhx.

Syntax

C#
public static double s11aa(
	double x,
	out int ifail
)
Visual Basic (Declaration)
Public Shared Function s11aa ( _
	x As Double, _
	<OutAttribute> ByRef ifail As Integer _
) As Double
Visual C++
public:
static double s11aa(
	double x, 
	[OutAttribute] int% ifail
)
F#
static member s11aa : 
        x:float * 
        ifail:int byref -> float 

Parameters

x
Type: System..::.Double
On entry: the argument x of the function.
Constraint: x<1.0.
ifail
Type: System..::.Int32 %
On exit: ifail=0 unless the method detects an error (see [Error Indicators and Warnings]).

Return Value

s11aa returns the value of the inverse hyperbolic tangent, arctanhx.

Description

s11aa calculates an approximate value for the inverse hyperbolic tangent of its argument, arctanhx.
For x212  it is based on the Chebyshev expansion
arctanhx=x×yt=x'r=0arTrt
where - 12x 12,, -1t1,   and  t=4x2-1.
For 12<x2<1, it uses
arctanhx=12ln1+x 1-x .
For x1, the method fails as arctanhx is undefined.

References

Error Indicators and Warnings

Accuracy

Further Comments

Example

See Also