Computes the cosine integral.

Namespace:  Meta.Numerics.Functions
Assembly:  Meta.Numerics (in Meta.Numerics.dll) Version: 1.4.0.0 (1.4.0.0)

Syntax

         
 C#  Visual Basic  Visual C++ 
public static double IntegralCi(
	double x
)
Public Shared Function IntegralCi ( _
	x As Double _
) As Double
public:
static double IntegralCi(
	double x
)

Parameters

x
Double
The argument, which must be non-negative.

Return Value

The value of Ci(x).

Remarks

The cosine integral diverges logrithmically to negative inifity at the origin and executes a damped oscilation arround zero as its argument increases.

Exceptions

ExceptionCondition
System..::.ArgumentOutOfRangeException x is negative.

See Also