WorksheetFunction.BesselK Method
Returns the modified Bessel function, which is equivalent to the Bessel functions evaluated for purely imaginary arguments.
Namespace: Microsoft.Office.Interop.Excel
Assembly: Microsoft.Office.Interop.Excel (in Microsoft.Office.Interop.Excel.dll)
Syntax
'Declaration
Function BesselK ( _
Arg1 As Object, _
Arg2 As Object _
) As Double
'Usage
Dim instance As WorksheetFunction
Dim Arg1 As Object
Dim Arg2 As Object
Dim returnValue As Double
returnValue = instance.BesselK(Arg1, Arg2)
double BesselK(
Object Arg1,
Object Arg2
)
Parameters
Arg1
Type: System.ObjectThe value at which to evaluate the function.
Arg2
Type: System.ObjectThe order of the function. If n is not an integer, it is truncated.
Return Value
Type: System.Double
Remarks
If x is nonnumeric, BesselK generates an error value.
If n is nonnumeric, BesselK generates an error value.
If n < 0, BesselK generates an error value.
The n-th order modified Bessel function of the variable x is:
Figure 1: Bessel function of the variable x
where Jn and Yn are the J and Y Bessel functions, respectively.