Next Article in Journal
Multidisciplinary Laser Facility Driven by New-Generation High-Repetition Laser
Previous Article in Journal
An Effective Method for Generating Isolated Attosecond Pulses from a Solid Crystal Film
Previous Article in Special Issue
Color Reproduction of Chinese Painting Under Multi-Angle Light Source Based on BRDF
 
 
Font Type:
Arial Georgia Verdana
Font Size:
Aa Aa Aa
Line Spacing:
Column Width:
Background:
Article

Computation of the Multi-Spheres Scattering Coefficient Using the Prime Index Method

1
Istituto Italiano di Tecnologia, Center for Biomolecular Nanotechnologies, Via Barsanti 14, 73010 Arnesano, Italy
2
Department of Information Engineering, Electronics, and Telecommunications, Sapienza University of Rome, Via Eudossiana 18, 00184 Rome, Italy
3
CNIT: National, Inter-University Consortium for Telecommunications, Viale G.P. Usberti, 181/A, 43124 Parma, Italy
*
Author to whom correspondence should be addressed.
Photonics 2024, 11(12), 1155; https://doi.org/10.3390/photonics11121155
Submission received: 17 October 2024 / Revised: 28 November 2024 / Accepted: 4 December 2024 / Published: 8 December 2024
(This article belongs to the Special Issue Optical Imaging and Measurements: 2nd Edition)

Abstract

:
The analytical-numerical evaluation of the scattering of electromagnetic waves by multiple spheres requires the computation of numerous coefficients. For this purpose, many contributions, available in the literature, have traditionally employed the recursion method. In the present paper, we introduce a novel approach, based on primes and indices, which can be conveniently applied to the computation of the Wigner 3-j symbols, the Wigner D-function, and the Gaunt coefficients. By considering a series-expansion form, our method proves to be easily applicable to a variety of similar problems. We provide examples of coefficient calculations and compare the results with those retrieved from previous publications, demonstrating the advantages of our approach.

1. Introduction

Factorization is an age-old problem arising in various fields of pure and applied mathematics. Due to computational limitations, the evaluation of n ! , when n is very large, remains a challenging task. In some cases, the complete calculation of the factorial function is not necessary, as illustrated by the evaluation of the quantity 500 ! 499 ! . As we know, the value of the ratio is 500. However, any attempt to calculate it directly using factorial functions, available in many programming platforms such as Matlab, is likely not to produce any result. This type of computational problem is akin to what needs to be addressed in multi-sphere scattering. As demonstrated in the following sections, the solutions of scattering problems according to Mie theory are based on numerous coefficients, such as the Wigner 3-j symbols, the Wigner D-functions, and the Gaunt coefficients. These quantities involve the evaluation of ratios of high-valued factorial of natural numbers, numerically hindered by limitations in the finite representation of integers and possible loss of precision. Although several computational strategies for the evaluaton of these quantities have been proposed in the literature [1,2,3,4,5,6,7,8,9,10], the high computational complexity relevant to the retrievement of these quantities is still an issue deserving further investigation. The contribution presented in [1], employing graphical techniques to the computation of Wigner 3-j symbols, suffers from a limited extensibility to the computation of other quantities involved in the solution of multi-sphere scattering problems. Well-established methods for the evaluation of the Wigner 3-j symbols and the Gaunt coefficients, available in the relevant literature, are mainly based on the exploitation of recursive computational schemes [5,6,10], optimized by the identification of the numerous symmetry properties of the quantities to evaluate [6], or are focused on the achievement of high numerical speed by devising efficient storage schemes to allow for fast memorization and retrieval of the large number of values typically required by numerical simulations [3]. While analythical approaches are useful for the definition of asymptotic forms in the case of high-degree coefficients [2], floating-point arithmetic routines must find a trade-off between numerical precision and speed. The well-documented computational strategy devised by Xu [7,8], based on the solution of a linear system of equations, although appreciable under many aspects, is not devoid of some level of inaccuracy and presents quite a high level of complexity, failing to provide easy implementation in a numerical code. In this paper, we present a computational strategy for the evaluation of the aforementioned coefficients, named the Prime Index Method (PIM). The proposed approach leverages on the prime factorization of integers’ factorials in index form, simplifying the computation of ratios of large factorials of natural numbers and allowing for the solution of multi-sphere scattering problems with very high precision and speed.
This paper is organized as follows: in Section 1, the Prime Index Method (PIM) is explained and its main idea is illustrated by means of a simple example. In Section 2, we provide examples of relevant applications for the proposed method and compare the outcomes to the results available in the literature. Conclusions and further developments are discussed in Section 3.

2. The Prime Index Method

The proposed Prime Index Method (PIM) is based on Legendre’s theorem, as described in [11], page 8. The theorem states that the factorial contains the prime factor p exactly κ times, the value κ being expressed by the following summation:
κ = i = 1 n p i
where the symbol denotes the floor function. Thus, the quantity κ provides the exponent at which the prime factor p must be raised the prime number factorization of n ! . The infinite summation in Equation (1) may be conveniently truncated, as the quantity n p i is null if p i > n . By applying Legendre’s theorem, it is possible to achieve the prime-number factorization of n ! . All prime numbers and their respective exponents of this factorization can be stored in two vectors p n κ n , repectively. Each element p n ( j ) of vector p n represents a prime factor less than or equal to n and each element κ n ( j ) represents the exponent of the prime p n ( j ) in the factorization of n ! . By multiplying all factors p n ( j ) κ n ( j ) toghether, the quantity n ! can be retrieved.
For this purpose, we define the vector p n of length j m a x ( n ) , where p n ( j ) ( j = 1 j m a x ( n ) ) contains all and only the prime numbers greater than 1 and less than or equal to n. The symbol p n has been chosen to state that the dimension of the vector p n ( j ) is a function of n. The vector p n ( j ) may be easily generated by using the sieve algorithm or library functions available in many commercial software platforms, e.g., the primes function available in Matlab. The value j m a x ( n ) represents the number of primes less than or equal to n: its value (the well-known prime counting function π ( n ) [12]) can be easily retrieved by evaluating the dimension of vector p n .
Secondly, we define an index vector κ n ( j ) ( j = 1 j m a x ( n ) ), using Equation (1)
κ n ( j ) = i = 1 n p n ( j ) i .
As stated before, in the numerical implementation of the algorithm, the infinite summation in Equation (2) can be truncated when i > i m a x ( n ) , where i m a x ( n ) is the first value for index i, for which the addend reaches zero. Having defined the index vector κ n ( j ) , the factorization of n ! can be obtained by raising all j m a x ( n ) prime fators p n ( j ) to their respective exponents κ n ( j ) and multipying all p n ( j ) κ n ( j ) factors together, i.e.,
n ! = j = 1 j m a x ( n ) p n ( j ) κ n ( j ) .
Thus, the value of n ! can be conveniently expressed by means of two vectors of integers, i.e., p n and κ n . Equation (3) represents a more convenient expression of n ! , which will be used in the following sections. A careful inquiry would confirm that the two expressions of n ! do obtain the same results.
Consider the calculation of the following ratio:
n ! m ! = j = 1 j m a x ( n ) p n ( j ) κ n ( j ) j = 1 j m a x ( m ) p m ( j ) κ m ( j )
The fraction in Equation (4) can be reduced to its lowest terms by simplifying the common factors present in both the numerator and denominator. To illustrate the simplification algorithm for Equation (4), we suppose that n < m : given the prime vectors p n and p m , their respective index vectors κ n and κ m may be set by means of Equation (2). Supposing n < m , it is also true that j m a x ( n ) j m a x ( m ) , i.e., the prime factorization of m ! contains j m a x ( m ) j m a x ( n ) additional prime factors, which are not included in the prime factorization of n ! . Nevertheless, it is possible to express the prime factorization of n ! by means of the prime vector p m , provided that all the j m a x ( m ) j m a x ( n ) additional prime factors contained in the prime factorization of m ! (but not included in the prime factorization of n ! ) are all raised to a null exponent. As a matter of fact, the introduction of further prime factors does not affect the factorization of n ! , provided all the exponents of the introduced factors are set to zero. In order to acheive this:
  • the dimension of the index vector κ n must be increased to match the dimension of vector κ m by inserting j m a x ( m ) j m a x ( n ) elements.
  • the new elements appended to vector κ n are all null.
The modified version of index vector κ n will be denoted by κ n . The new expression for the prime factorization of n ! is:
n ! = j = 1 j m a x ( m ) p m ( j ) κ n ( j )
By inserting Equation (5) into Equation (4), we obtain:
n ! m ! = j = 1 j m a x ( m ) p m ( j ) κ n ( j ) j = 1 j m a x ( m ) p m ( j ) κ m ( j ) = j = 1 j m a x ( m ) p m ( j ) κ n ( j ) p m ( j ) κ m ( j ) = j = 1 j m a x ( m ) p m ( j ) κ n ( j ) κ m ( j ) .
Similar considerations apply if n > m . The computational strategy expressed by Equation (6) is applicable even when the value of the factorial functions exceed the computational limits allowed by the computer. We will illustrate the advantages introduced by Equation (6) by means of a simple example: the computation of 4 ! 5 ! . In this case, the maximum value between the two arguments of the factorial functions is 5, and the vector p m , listing the the primes under 5, is [ 2 , 3 , 5 ] . According to Equation (2), the index vector for 5 ! is κ m = [ 3 , 1 , 1 ] , while the index vector for 4 ! is κ n = [ 3 , 1 , 0 ] —the last element, 0, has been added to the elements of κ n = [ 3 , 1 ] . Therefore, the index difference vector κ n ( j ) κ m ( j ) in Equation (6) is [ 0 , 0 , 1 ] , thus:
4 ! 5 ! = 2 0 × 3 0 × 5 1 = 1 5 .
This is the expected result. The previous example is purely illustrative, as the presented method does not show any advantages when both n and m have small values.
The convenience of the presented method is apparent if n and m are large: the computation of the ratio 500 ! 499 ! = 500 by prime factorization is straightforward, while any attempt of direct computation retrieves a N a N result for the factorial function in Matlab. Moreover, the computational load in the calculation of 500 ! 499 ! by PIM is negligible, being of the order of milliseconds using an average commercial laptop computer.
It is possible to address more complex situations, e.g., the computation of expressions like n ! m ! , or, in general, expressions in which the numerator or denominator of a fraction consist of the product of several factorial terms, each one raised to a specific rational exponent, e.g.,
( n 1 ! ) q 1 ( n 2 ! ) q 2 ( m 1 ! ) r 1 ( m 2 ! ) r 2 , q i , r j Q .
The presence of additional factorial factors and their rational exponents may be taken into account, in the prime index representation of Equation (6), by the following algorithm:
  • we compute the index vectors κ n 1 , κ m 1 , κ n 2 , and κ m 2 …, corresponding to the arguments of the factorial functions n 1 , m 1 , n 2 , and m 2 …, respectively;
  • supposing that γ = m a x { n 1 , m 1 , n 2 , m 2 } , we increase the dimension of vectors κ n i , κ m i ( n i , m i γ ) in order to match the dimension of vector κ γ , obtaining vectors κ n 1 , κ m 1 , κ n 2 , κ m 2 …, κ γ ,…, as previously described;
  • we define a matrix κ ( i , j ) , whose rows are formed by the vectors κ n 1 , κ m 1 , κ n 2 , κ m 2 …, κ γ ,…;
  • we define a vector ξ whose elements are the exponents q 1 , q 2 , …, , r 1 , r 2 …, thus ξ = [ q 1 , , q 2 , , r 1 , r 2 ] .
Equation (6) becomes:
( n 1 ! ) q 1 ( n 2 ! ) q 2 ( m 1 ! ) r 1 ( m 2 ! ) r 2 , = j = 1 j m a x ( γ ) p γ ( j ) i ξ ( i ) κ ( i , j ) .
For convenience, in the numerical implementation of the algorithm, arguments n i , m i of the factorial functions in Equation (9) may be represented as components of a vector x, i.e., x = [ n 1 , n 2 , , m 1 , m 2 , ] , as previously done for the relevant exponents represented as the elements of vector ξ .
A Matlab Code for the Evaluation of the quantity in Equation (9) is reported in the Supplementary Materials, provided along with the present paper. In the following sections, we will consider relevant application of Equation (9).

3. Results and Discussion

In this section, Equation (9) is applied to the evaluation of coefficients involved in the numerical solution of multi-sphere scattering problems. The accuracy of the computational algorithms is assessed and a comparison with previous results, available in the literature, is provided.

3.1. The Wigner 3-j Symbols

The expression of the Wigner 3-j symbols, as available in [3] is:
j 1 j 2 j 3 m 1 m 2 m 3 = ϵ j 1 , j 2 , j 3 Δ j 1 , j 2 , j 3 δ m 1 + m 2 + m 3 , 0 ( 1 ) j 1 j 2 m 3 × j 1 + m 1 ! j 1 m 1 ! j 2 + m 2 ! j 2 m 2 ! j 3 + m 3 ! j 3 m 3 ! × k = k min k max ( 1 ) k k ! j 1 + j 2 j 3 k ! j 1 m 1 k ! j 2 + m 2 k ! × 1 j 3 j 2 + m 1 + k ! j 3 j 1 m 2 + k ! .
where k max = min j 1 + j 2 j 3 , j 1 m 1 , j 2 + m 2 and k min = max j 3 + j 2 m 1 , j 3 + j 1 + m 2 , 0 . The quantities m 1 , m 2 , and m 3 represent an angular momentum quantum numbers: to avoid ambiguity, we refer to the arguments m i of the factorial functions in Equation (9) as components of vector x.
The triangle coefficient is defined as follows:
Δ j 1 , j 2 , j 3 = j 1 + j 2 j 3 ! j 1 j 2 + j 3 ! j 1 + j 2 + j 3 ! j 1 + j 2 + j 3 + 1 ! ,
ϵ j 1 , j 2 , j 3 = 1 if j 1 , j 2 , j 3 form a triangle 0 otherwise ,
δ m 1 + m 2 + m 3 , 0 = 1 when m 1 + m 2 + m 3 = 0 0 otherwise .
Although the expression may seem rather complex, we will focus on the numerical evaluation of the ratio of factorial functions. We define the x-vector components as follows:
x ( 1 ) = j 1 + j 2 j 3 , x ( 2 ) = j 1 j 2 + j 3 , x ( 3 ) = j 1 + j 2 + j 3 ,
x ( 4 ) = j 1 + m 1 , x ( 5 ) = j 1 m 1 , x ( 6 ) = j 2 + m 2 , x ( 7 ) = j 2 m 2 ,
x ( 8 ) = j 3 + m 3 , x ( 9 ) = j 3 m 3
x ( 10 ) = j 1 + j 2 + j 3 + 1 , x ( 11 ) = k , x ( 12 ) = j 1 + j 2 j 3 k , x ( 13 ) = j 1 m 1 k ,
x ( 14 ) = j 2 + m 2 k , x ( 15 ) = j 3 j 2 + m 1 + k , x ( 16 ) = j 3 j 1 + m 1 + k .
The correspondent ξ vector is as follows:
ξ = [ 1 / 2 , 1 / 2 , 1 / 2 , 1 / 2 , 1 / 2 , 1 / 2 , 1 / 2 , 1 / 2 , 1 / 2 , 1 / 2 , 1 , 1 , 1 , 1 , 1 , 1 ] .
The numerical results can be compared to those presented in a previous work by Xu [7]. In [7], the values of the Wigner 3-j symbols are obtained by applying an iterative method, which is much more complex than the one presented here.
To provide an example of the convenience of the proposed algorithm, we consider the following computation:
260 280 j 3 228 268 496 ,
where j 3 ranges from 496 to 540, and the results are presented in Figure 1. In Figure 1a, values of the Wigner 3-j symbol in (14), retrieved by means of the PIM (solid line), are plotted versus values of j 3 and compared with those retrieved by Xu’s method [7] (circle markers): the two sets of plotted values match with a high precision. Figure 1b reports values of the maximum relative error between the results reported in Figure 1a, retrieved by the two methods, plotted versus values of j 3 : the relative error keeps very low in the interval of values of j 3 under analysis. A Matlab Code for the Evaluation Wigner 3-j symbols is reported in the Supplementary Materials, provided along with the present paper. Regarding the computational speed, Xu’s method is still hindered by the necessity to retrieve the factorial of large numbers. The results of Wigner3-j coefficients, presented in his papers, are retrieved by implementing a very complex algorithm in Fortran code running on a workstation. Xu points out that the computational time, when j m a x ( n ) approaches the value of 80, results in approximately 30 h. When applying the PIM, the computational load is extremely reduced.The typical evaluation times do not exceed a tenth of a second on a commercial PC running interpreted-language Matlab code, even for orders j m a x ( n ) much larger than 80. Such an improvement in numerical performance can be reasonably claimed, even taking into consideration the technological evolution of computers in 25 years.

3.2. Winger D-Function

The expression of the Wigner D-function, available in [13], is as follows:
d m n S ( θ ) = ( s + m ) ! ( s m ) ! ( s + n ) ! ( s n ) ! × k = k min k max ( 1 ) k cos 1 2 θ 2 s 2 k + m n sin 1 2 θ 2 k m + n k ! ( s + m k ) ! ( s n k ) ! ( n m + k ) !
where k min = max ( 0 , m n ) , and k max = min ( s + m , s n ) .
To apply the proposed algorithm, we define a x vector, as previously obtained:
x ( 1 ) = s + m , x ( 2 ) = s m , x ( 3 ) = s + n , x ( 4 ) = s n ,
x ( 5 ) = k , x ( 6 ) = s + m k , x ( 7 ) = s n k , x ( 8 ) = n m + k ,
and define a correspondent ξ vector:
ξ = [ 1 / 2 , 1 / 2 , 1 / 2 , 1 / 2 , 1 , 1 , 1 , 1 ] .
The results of PIM can be compared with the analytical results from [14].
d 0 , 0 4 ( θ ) = 1 8 3 30 cos 2 θ + 35 cos 4 θ
d 2 , 2 4 ( θ ) = 1 4 ( 1 + cos θ ) 2 1 7 cos θ + 7 cos 2 θ
d 2 , 2 4 ( θ ) = 1 4 ( 1 cos θ ) 2 1 + 7 cos θ + 7 cos 2 θ
The results are presented in Figure 2. In Figure 2a, the values of Wigner d 0 , 0 4 , d 2 , 2 4 , and d 2 , 2 4 functions retrieved by numerical computations (solid line) are plotted versus values of θ and compared with the analytical results (circle markers). Figure 2b reports the values of the maximum relative error between the results reported in Figure 2a, retreived by the two methods, plotted versus the values of θ : the relative error remains very low in the interval of values of θ under analysis.

3.3. Gaunt Coefficient

The expression of the Gaunt coefficient, available in [8], is as follows:
a ( m , n , μ , ν , p ) = ( 1 ) m + μ ( 2 p + 1 ) ( n + m ) ! ( ν + μ ) ! ( p m μ ) ! ( n m ) ! ( ν μ ) ! ( p + m + μ ) ! 1 / 2 × n       ν       p 0       0       0 n                 ν             p m       μ       m μ ,
In Equation (19), the evaluation of the two Wigner 3-j symbols and the factor in square brackets may be performed according to the procedure explained previously. The results are presented in Figure 3. In Figure 3a, the values of the Gaunt coefficient retrieved by the PIM are plotted versus the values of n = ν and compared with those retrieved by Xu’s method. The values of other parameters are m = 1 , μ = 1 , and p = n + ν . In Figure 3b, the values of the relative error between the results reported in Figure 3a, retrieved by the two methods, are plotted versus values of n = ν : the relative error remains very low for the interval values of n = ν under analysis.

3.4. Vector Translation Coefficients

The expression of the Vector Translation Coefficients, available in [7], is as follows:
A m n μ ν l j = ( 1 ) m ( 2 ν + 1 ) ( n m ) ! ( ν μ ) ! 2 n ( n + 1 ) ( n + m ) ! ( ν + μ ) ! exp i ( μ + m ) ϕ l j × q = 0 q max i p [ n ( n + 1 ) + ν ( ν + 1 ) p ( p + 1 ) ] a q × h p ( 1 ) k d l j j p k d l j P p μ + m cos θ l j r d l j r > d l j ,
B m n μ ν l j = ( 1 ) m + 1 ( 2 ν + 1 ) ( n m ) ! ( ν μ ) ! 2 n ( n + 1 ) ( n + m ) ! ( ν + μ ) ! exp i ( μ + m ) ϕ l j × q = 1 Q max i p + 1 ( p + 1 ) 2 ( n ν ) 2 ( n + ν + 1 ) 2 ( p + 1 ) 2 1 / 2 × b ( m , n , μ , ν , p + 1 , p ) h p + 1 ( 1 ) k d l j j p + 1 k d l j P p + 1 μ + m cos θ l j r d l j r > d l j ,
where
Q max = min [ n , ν , ( n + ν + 1 | m + μ | ) / 2 ] , b ( m , n , μ , ν , p + 1 , p ) = ( 1 ) μ + m ( 2 p + 3 ) ( n + m ) ! ( ν + μ ) ! ( p m μ + 1 ) ! ( n m ) ! ( ν μ ) ! ( p + m + μ + 1 ) ! 1 / 2 × n ν p + 1 m μ m μ n ν p 0 0 0 .
In Equations (20) and (21), k is the wavenumber and d i j , θ i j , ϕ i j are the spherical coordinates of the origin of the j t h coordinate system in the l t h coordinate system. Note that Equation (22) involves the use of the Gaunt coefficient. A comparison can be carried out between Xu’s results, presented in [7], where ( k d i j , θ i j , ϕ i j ) = ( 2 , 0.5 , 0.5 ) , results are reported in Table 1. In particular, when m = μ and n = ν , values B m n μ ν l j ( k d i j , θ i j , ϕ i j ) , obtained by our method, are different from Xu’s. In [9], Xu reported a difference between the results of his method and the results retrieved by other methods, without indicating which results are correct: yet, the author points out that his method evidently failed to retrieve the value of coefficient B for some specific values of the parameters ( m , n , μ , ν ) . Computing the Vector Translation Coefficients B, in cases in which Xu’s method cannot provide the correct answer, e.g., when ( m , n , μ , ν ) = ( 0 , 10 , 0 , 10 ) , PIM still retrieves reasonably reliable values, although we could not perform a comparison with the previous results, owing to the small amount of publications on this specific topic. It is worth noting that the incorrect results for A and B, reported in the literature, were due to errors in the calculation methods of the Wigner 3-j symbol. Although the values of the parameters under consideration may be relatively small, the accumulation of small errors may jeopardize the reliability and stability of the numerical solution of complex scattering problems, typically relying on the computation of a very large amount of such coefficient values.

4. Conclusions

In this paper, we present a novel approach for the solution of many numerically challenging computational problems in which the presence of high-valued factorial functions, in the numerator and denominator of an expression, exceed any reasonable computational limit, resulting in a computer-memory overflow or the loss of numerical precision. The proposed PIM approach, based on the evaluation of the series expansions, is applicable to the calculation of ratios of factorial terms, each one raised to a specific rational exponent and, which is proven to be extremely useful for the computation of the Wigner 3-j symbols, the Wigner D-function, and the Gaunt coefficient. The method is fast, reliable, and easily implementable in code, with the key code requiring only around 30 lines. Computational times are extremely reduced even in the evaluation of more complex functions, such as Vector Translation Coefficients A and B . Advantages are apparent in many other cases, such as the evaluation of the spherical Hankel functions, finding its straightforward application in the numerical solution of electromagnetic scattering problems. In this case, the series-expansion truncation criterion imposes a heavy computational toll when the length of the incident wave is much smaller than the size of the scatterer. By applying the proposed method, computational limitations may be easily overcome, achieving a very high numerical precision [15].

Supplementary Materials

The following supporting information can be downloaded at: https://www.mdpi.com/article/10.3390/photonics11121155/s1, S1.1: Matlab Code for the Evaluation of the quantity in Equation (9); S1.2: Matlab Code for the Evaluation of the Wigner 3-j symbols.

Author Contributions

Conceptualization, F.F. and F.M.; methodology, F.M. and F.H.; software, F.H.; validation, F.H.; formal analysis, F.H. and C.S.; investigation, F.H.; writing—original draft preparation, F.H. and C.S.; writing—review and editing, F.H., C.S. and F.M.; visualization, F.H. and C.S.; supervision, F.F. All authors have read and agreed to the published version of the manuscript.

Funding

We acknowledge the financial support from the Italian Ministerial grant PRIN2022 “SAFE” (2022ESAC3K). F.F. acknowledges the partial funding of the research activity through financial support from ICSC—Centro Nazionale di Ricerca in “High Performance Computing, Big Data and Quantum Computing”, funded by European Union—NextGenerationEU.

Data Availability Statement

he authors confirm that the data supporting the findings of this study are available within the article and its Supplementary Materials.

Conflicts of Interest

The authors declare no conflicts of interest.

Abbreviations

The following abbreviations are used in this manuscript:
PIMPrime Index Method

References

  1. Xiang, S.; Wang, L.; Yan, Z.C.; Qiao, H. A program for simplifying summation of Wigner 3j-symbols. Comput. Phys. Commun. 2021, 264, 107880. [Google Scholar] [CrossRef]
  2. Aquilanti, V.; Haggard, H.M.; Littlejohn, R.G.; Yu, L. Semiclassical analysis of Wigner 3j-symbol. J. Phys. A Math. Theor. 2007, 40, 5637. [Google Scholar] [CrossRef]
  3. Rasch, J.; Yu, A.C.H. Efficient storage scheme for precalculated Wigner 3 j, 6 j and Gaunt coefficients. SIAM J. Sci. Comput. 2004, 25, 1416–1428. [Google Scholar] [CrossRef]
  4. Wei, L. Unified approach for exact calculation of angular momentum coupling and recoupling coefficients. Comput. Phys. Commun. 1999, 120, 222–230. [Google Scholar] [CrossRef]
  5. Luscombe, J.H.; Luban, M. Simplified recursive algorithm for wigner 3 j and 6 j symbols. Phys. Rev. E 1998, 57, 7274. [Google Scholar] [CrossRef]
  6. Tuzun, R.E.; Burkhardt, P.; Secrest, D. Accurate computation of individual and tables of 3-j and 6-j symbols. Comput. Phys. Commun. 1998, 112, 112–148. [Google Scholar] [CrossRef]
  7. Xu, Y.L. Efficient evaluation of vector translation coefficients in multiparticle light-scattering theories. J. Comput. Phys. 1998, 139, 137–165. [Google Scholar] [CrossRef]
  8. Xu, Y.L. Fast evaluation of the Gaunt coefficients. Math. Comput. 1996, 65, 1601–1612. [Google Scholar] [CrossRef]
  9. Xu, Y.L. Calculation of the addition coefficients in electromagnetic multisphere-scattering theory. J. Comput. Phys. 1996, 127, 285–298. [Google Scholar] [CrossRef]
  10. Schulten, K.; Gordon, R.G. Exact recursive evaluation of 3j-and 6j-coefficients for quantum-mechanical coupling of angular momenta. J. Math. Phys. 1975, 16, 1961–1970. [Google Scholar] [CrossRef]
  11. Aigner, M.; Ziegler, G.M. Proofs from the Book, 3rd ed.; Springer: Berlin, Germany, 2000. [Google Scholar]
  12. Fazely, A.R. Prime–index parametrization for total neutrino-nucleon cross sections and pp cross sections. J. Phys. G Nucl. Part. Phys. 2019, 46, 125003. [Google Scholar] [CrossRef]
  13. Wigner, E. Group Theory: And Its Application to the Quantum Mechanics of Atomic Spectra; Elsevier: Amsterdam, The Netherlands, 2012; Volume 5. [Google Scholar]
  14. Mishchenko, M.I. Electromagnetic Scattering by Particles and Particle Groups: An Introduction; Cambridge University Press: Cambridge, UK, 2014. [Google Scholar]
  15. Batool, S.; Frezza, F.; Mangini, F.; Yu-Lin, X. Scattering from multiple PEC sphere using translation addition theorems for spherical vector wave function. J. Quant. Spectrosc. Radiat. Transf. 2020, 248, 106905. [Google Scholar] [CrossRef]
Figure 1. Comparison of the computation of the Wigner 3-j symbol using different algorithms. (a) Values of the Wigner 3-j symbol in (14), obtained by means of the PIM (solid line), are plotted versus values of j 3 and compared to those retrieved by Xu’s method (circle markers). (b) Values of the relative error between the results reported in (a), retrieved by the two methods, are plotted versus values of j 3 : the relative error keeps less than 5 × 10 9 .
Figure 1. Comparison of the computation of the Wigner 3-j symbol using different algorithms. (a) Values of the Wigner 3-j symbol in (14), obtained by means of the PIM (solid line), are plotted versus values of j 3 and compared to those retrieved by Xu’s method (circle markers). (b) Values of the relative error between the results reported in (a), retrieved by the two methods, are plotted versus values of j 3 : the relative error keeps less than 5 × 10 9 .
Photonics 11 01155 g001
Figure 2. Comparison of the computation of the Wigner D-function using different algorithms. (a) Values of Wigner d 0 , 0 4 , d 2 , 2 4 , and d 2 , 2 4 functions obtained by means of the PIM are plotted versus the values of θ and compared with corresponding values retrieved by the analytical results. (b) Values of the relative error between the results reported in (a), retrieved by the two methods, are plotted versus values of θ . The relative error remains less than 1 × 10 15 .
Figure 2. Comparison of the computation of the Wigner D-function using different algorithms. (a) Values of Wigner d 0 , 0 4 , d 2 , 2 4 , and d 2 , 2 4 functions obtained by means of the PIM are plotted versus the values of θ and compared with corresponding values retrieved by the analytical results. (b) Values of the relative error between the results reported in (a), retrieved by the two methods, are plotted versus values of θ . The relative error remains less than 1 × 10 15 .
Photonics 11 01155 g002
Figure 3. (a) Values of the Gaunt coefficient a ( m , n , μ , ν , p ) , retrieved by PIM, are plotted versus the values of n = ν and compared with those retrieved by Xu’s method. The values of other parameters are m = 1 , μ = 1 , and p = n + ν . (b) Values of the relative error between the results reported in (a), retrieved by the two methods, are plotted versus the values of n = ν : the relative error keeps less than 5 × 10 11 .
Figure 3. (a) Values of the Gaunt coefficient a ( m , n , μ , ν , p ) , retrieved by PIM, are plotted versus the values of n = ν and compared with those retrieved by Xu’s method. The values of other parameters are m = 1 , μ = 1 , and p = n + ν . (b) Values of the relative error between the results reported in (a), retrieved by the two methods, are plotted versus the values of n = ν : the relative error keeps less than 5 × 10 11 .
Photonics 11 01155 g003
Table 1. Comparison between the values of the Vector Translation Coefficients retreived by Xu’s method [7] and the PIM for ( k d i j , θ i j , ϕ i j ) = ( 2 , 0.5 , 0.5 ) and different values of m, n, μ , and ν parameters.
Table 1. Comparison between the values of the Vector Translation Coefficients retreived by Xu’s method [7] and the PIM for ( k d i j , θ i j , ϕ i j ) = ( 2 , 0.5 , 0.5 ) and different values of m, n, μ , and ν parameters.
A m n μ ν l j ( kd ij , θ ij , ϕ ij )
XUPIM
mn μ ν RealImagRealImag
810−9123.663964990 × 1034−2.762412192 × 10343.663965099 × 1034−2.762412274 × 1034
0100102.969682019 × 10−1−1.928601440 × 10172.969682108 × 10−1−1.928601498 × 1017
−211397.726121583 × 10111.034255820 × 10127.726121813 × 10111.034255850 × 1012
10181522−6.206840651 × 1035−8.308775621 × 1035−6.206840836 × 1035−8.308775868 × 1035
3636−38384.146334728 × 10190−4.931584782 × 101904.146334852 × 10190−4.931584929 × 10190
B m n μ ν l j ( kd ij , θ ij , ϕ ij )
XUPIM
mn μ ν RealImagRealImag
810−912−8.370892023 × 1031−1.110285257 × 1031−8.370892272 × 1031−1.110285290 × 1032
0100100.000000000 × 1000.000000000 × 100−7.341232630 × 10−4−1.492552121 × 10−18
−211391.222239141 × 10109.130398908 × 1091.222239177 × 1010−9.130399180 × 109
10181522−3.610252125 × 10342.696938836 × 1034−3.610252233 × 10342.696938917 × 1034
3636−38380.000000000 × 1000.000000000 × 1000.000000000 × 1000.000000000 × 100
Disclaimer/Publisher’s Note: The statements, opinions and data contained in all publications are solely those of the individual author(s) and contributor(s) and not of MDPI and/or the editor(s). MDPI and/or the editor(s) disclaim responsibility for any injury to people or property resulting from any ideas, methods, instructions or products referred to in the content.

Share and Cite

MDPI and ACS Style

Huang, F.; Santini, C.; Mangini, F.; Frezza, F. Computation of the Multi-Spheres Scattering Coefficient Using the Prime Index Method. Photonics 2024, 11, 1155. https://doi.org/10.3390/photonics11121155

AMA Style

Huang F, Santini C, Mangini F, Frezza F. Computation of the Multi-Spheres Scattering Coefficient Using the Prime Index Method. Photonics. 2024; 11(12):1155. https://doi.org/10.3390/photonics11121155

Chicago/Turabian Style

Huang, Fangcheng, Carlo Santini, Fabio Mangini, and Fabrizio Frezza. 2024. "Computation of the Multi-Spheres Scattering Coefficient Using the Prime Index Method" Photonics 11, no. 12: 1155. https://doi.org/10.3390/photonics11121155

APA Style

Huang, F., Santini, C., Mangini, F., & Frezza, F. (2024). Computation of the Multi-Spheres Scattering Coefficient Using the Prime Index Method. Photonics, 11(12), 1155. https://doi.org/10.3390/photonics11121155

Note that from the first issue of 2016, this journal uses article numbers instead of page numbers. See further details here.

Article Metrics

Back to TopTop