Computes the cosine integral.

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

Syntax

            
 C#  Visual Basic  Visual C++  F# 
public static double IntegralCi(
	double x
)
Public Shared Function IntegralCi ( _
	x As Double _
) As Double
public:
static double IntegralCi(
	double x
)
static member IntegralCi : 
        x : float -> float 

Parameters

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

Return Value

The value of Ci(x).

Remarks

The cosine integral is defined as:

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..::..ArgumentOutOfRangeExceptionx is negative.

See Also