Computes the cosine integral.
Namespace: Meta.Numerics.FunctionsAssembly: Meta.Numerics (in Meta.Numerics.dll) Version: 2.1.0.0 (2.1.0.0)
Syntax
| C# | Visual Basic | Visual C++ | F# |
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
| Exception | Condition |
|---|---|
| System..::..ArgumentOutOfRangeException | x is negative. |