Re f
QR Code ISO/IEC18004 Recognizer In VS .NETUsing Barcode Control SDK for .NET Control to generate, create, read, scan barcode image in Visual Studio .NET applications.
b + i j + i (t 1)
QR Code Creator In .NETUsing Barcode printer for .NET framework Control to generate, create QR Code 2d barcode image in .NET framework applications.
cos( t) dt
Quick Response Code Reader In .NETUsing Barcode decoder for .NET framework Control to read, scan read, scan image in VS .NET applications.
Put for abbreviation g =
Draw Bar Code In .NET FrameworkUsing Barcode generation for .NET Control to generate, create bar code image in .NET framework applications.
f ( ) (2eb / )g The integral in g is calculated by using the trapezoidal rule approximation with a division of the integration interval (0, 2) into 2m subintervals of length 1/m for an appropriately chosen value of m It is recommended to take m = 4M This gives 2m 1 f + f2m 1 p + 0 , (F3) fp cos g 2m m 2
Recognize Barcode In VS .NETUsing Barcode reader for .NET Control to read, scan read, scan image in .NET framework applications.
2 n j =1 j 0 Re
Drawing QR Code 2d Barcode In Visual C#.NETUsing Barcode maker for .NET framework Control to generate, create Quick Response Code image in Visual Studio .NET applications.
b+i j +i (t 1)
QR Code Creator In VS .NETUsing Barcode generator for ASP.NET Control to generate, create QR Code ISO/IEC18004 image in ASP.NET applications.
cos( t) dt Then
Encoding QR In Visual Basic .NETUsing Barcode creator for .NET Control to generate, create QR Code 2d barcode image in VS .NET applications.
where fp is de ned by fp n
Encoding DataMatrix In .NET FrameworkUsing Barcode printer for Visual Studio .NET Control to generate, create Data Matrix ECC200 image in Visual Studio .NET applications.
APPENDICES
Printing USS-128 In Visual Studio .NETUsing Barcode generation for .NET framework Control to generate, create UCC.EAN - 128 image in .NET applications.
j =1
Draw Bar Code In .NETUsing Barcode creator for Visual Studio .NET Control to generate, create barcode image in .NET applications.
j Re f
Code 2 Of 5 Encoder In .NETUsing Barcode creation for Visual Studio .NET Control to generate, create 2 of 5 Industrial image in VS .NET applications.
b + i j + i (p/m 1)
Barcode Reader In .NET FrameworkUsing Barcode decoder for Visual Studio .NET Control to read, scan read, scan image in .NET framework applications.
p = 0, 1, , 2m
Create ANSI/AIM Code 39 In JavaUsing Barcode creation for Java Control to generate, create Code 39 image in Java applications.
The approximation of (2eb / )g to f ( ) is extraordinarily accurate Rather than calculating from (F3) the constants g for = 0, 1, , M 1 by direct summation, it is much better to use the discrete Fast Fourier Transform method to calculate the constants g for = 0, 1, , 2m 1 More important than speeding up the calculations, the discrete FFT method has the advantage of its numerical stability To see how to apply the discrete FFT method to (F3), de ne gk by gk =
Generate Barcode In Visual Basic .NETUsing Barcode creator for .NET framework Control to generate, create barcode image in Visual Studio .NET applications.
1 2 (f0 fk , + f2m ),
Create Barcode In C#.NETUsing Barcode encoder for .NET Control to generate, create barcode image in Visual Studio .NET applications.
k = 0, k = 1, , 2m 1
EAN / UCC - 13 Drawer In JavaUsing Barcode generator for Java Control to generate, create EAN 128 image in Java applications.
Then, we can rewrite the expression (F3) for g as g 1 Re 2m
UPC - 13 Decoder In .NET FrameworkUsing Barcode scanner for .NET Control to read, scan read, scan image in .NET applications.
2m 1 k=0
Making Bar Code In JavaUsing Barcode maker for Java Control to generate, create barcode image in Java applications.
gk e 2 i
Drawing Code 3/9 In .NET FrameworkUsing Barcode creation for ASP.NET Control to generate, create Code-39 image in ASP.NET applications.
k/2m
(F4)
for = 0, 1, , 2m 1 The discrete FFT method can be applied to this representation Applying the inverse discrete FFT method to the vector (g0 , , g2m 1 ) yields the sought vector (g0 , , g2m 1 ) Here is a summary of the algorithm: Input: M, , b, n and m Output: f (k ) for k = 0, 1, , M 1 Step 1: Calculate for p = 0, 1, , 2m and 1 j n,
fjp = Re f
b + i j + i (p/m 1)
1 2 (f0 + f2m )
n Next calculate fp = j =1 j fjp for p = 0, 1, , 2m Let g0 = for k = 1, , 2m 1 and gk = fk
Step 2: Apply the inverse discrete FFT method to the vector (g0 , , g2m 1 ) in order to obtain the desired vector (g0 , , g2m 1 ) Step 3: Let f ( ) = (2e b / )g for 0 M 1 In step 3 of the algorithm g is multiplied by eb In order to avoid numerical instability, it is important to choose b not too large Assuming that the ratio m/M is large enough, say 4, numerical experiments indicate that b = 22/m gives results that are almost of machine accuracy 2E 16 (in general, it is best to choose b somewhat larger than ln( )/(2m) where is the machine precision) If f is suf ciently smooth, it usually suf ces to take n = 8, otherwise n = 16 is
F NUMERICAL LAPLACE INVERSION
recommended The parameter M is taken as a power of 2 (say, M = 32 or M = 64) while the parameter m is chosen equal to 4M The choices of M and are not particularly relevant when f is smooth enough (theoretically, the accuracy increases when gets smaller) In practice it is advisable to apply the algorithm for and 1 to see whether or not the results are affected by the choice of 2 Non-smooth functions The Den Iseger algorithm may also perform unsatisfactorily when f or its derivative has discontinuities In such cases the numerical dif culties may be circumvented by using a simple modi cation of the algorithm To do this, assume that f (s) can be represented as (F5) f (s) = v(s, e x0 s ) for some real scalar x0 and some function v(s, u) with the property that for any xed u the function v(s, u) is the Laplace transform of a smooth function As an example, consider the complementary waiting-time distribution f (t) = P {Wq > t} in the M/D/1 queue with deterministic service times D and service in order of arrival; see 9 This function f (t) is continuous but is not differentiable at the points t = D, 2D, The Laplace transform f (s) of f (t) is given by f (s) = s + e sD , s[s + e sD ] (F6)
where is the average arrival rate and = D < 1 Then (F5) applies with x0 = D and v(s, u) = s + u s(s + u)
In this example we have indeed that for any xed u the function v(s, u) is the Laplace transform of an analytic (and hence smooth) function In the modi ed Den Iseger algorithm the basic relation (F2) should be modi ed as n 1 eb j v j (t) cos( (t + 1)) dt (F7) f( )
j =1 1