Logo

BESSELI

Updated 2024-03-14 14:11:50.020000

Syntax

SELECT [westclintech].[wct].[BESSELI] (
  <@x, float,>
 ,<@n, float,>)

Description

Use the scalar function BESSELI function to calculate the the modified Bessel function of the first kind, In(x). The BESSELI function is defined by

I_n(x)=(i)^{-n}J_n(ix)

where Jn is the BESSELJ function.

Arguments

@x

is the value at which to evaluate the function. @x is an expression of type float or of a type that can be implicitly converted to float.

@n

is the order of the Bessel function. @n is an expression of type float or of a type that can be implicitly converted to float.

Return Type

float

Remarks

@n is truncated to zero decimal places.

If @n is less than zero, BESSELI returns an error.

Examples

select wct.BESSELI(1, 5);

This produces the following result.

{"columns":[{"field":"column 1","headerClass":"ag-right-aligned-header","cellClass":"ag-right-aligned-cell"}],"rows":[{"column 1":"0.000271463155956972"}]}