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