Docsity

Fast Multipole Methods: Understanding Factorization, Local and Far Field Expansions, Study notes of Mathematics

Toggle sidebar
bg1
1
MAIT 627 Fast Multipole Methods
Lecture 3
Outline
•Factorization – One of key parts of the FMM
– Extensions of our trick for fast summation
– “Middleman” scheme
– Singular and regular fields
– Far field and near field
•Local Expansions (or R-expansions)
– Local expansions of regular and singular potentials
– Power series
– Taylor series
•Far Field Expansions (or S-expansions)
– Far field expansions of regular and singular potentials
– Asymptotic series
Matrix-Vector Multiplication Why R
d
?
• d = 1
– Scalar functions, interpolation, etc.
• d = 2,3
– Physical problems in 2 and 3 dimensional space
• d = 4
– 3D Space + time, 3D grayscale images
• d = 5
– Color 2D images, Motion of 3D grayscale images
• d = 6
– Color 3D images
• d = 7
– Motion of 3D color images
• d = arbitrary
– d-parametric spaces, statistics, database search procedures
pf3
pf4
pf5
pf8

Partial preview of the text

Download Fast Multipole Methods: Understanding Factorization, Local and Far Field Expansions and more Study notes Mathematics in PDF only on Docsity!

MAIT 627 Fast Multipole Methods

Lecture 3

Outline

  • Factorization – One of key parts of the FMM
    • Extensions of our trick for fast summation
    • “Middleman” scheme
    • Singular and regular fields
    • Far field and near field
  • Local Expansions (or R-expansions)
    • Local expansions of regular and singular potentials
    • Power series
    • Taylor series
  • Far Field Expansions (or S-expansions)
    • Far field expansions of regular and singular potentials
    • Asymptotic series

Matrix-Vector Multiplication Why R d^?

  • d = 1
    • Scalar functions, interpolation, etc.
  • d = 2,
    • Physical problems in 2 and 3 dimensional space
  • d = 4
    • 3D Space + time, 3D grayscale images
  • d = 5
    • Color 2D images, Motion of 3D grayscale images
  • d = 6
    • Color 3D images
  • d = 7
    • Motion of 3D color images
  • d = arbitrary
    • d-parametric spaces, statistics, database search procedures

Fields (Potentials)

Field (Potential) of a single ( i th) unit source

Field (Potential) of the set of sources of intensities { ui }

Fields are continuous! (Almost everywhere)

Examples of Fields

  • There can be vector or scalar fields (we focus mostly on scalar fields)
  • Fields can be regular or singular

(singular at y = x i )

(singular at y = x i )

(regular everywhere)

Scalar Fields:

Vector Field:

(singular at y = x i )

Straightforward Computational

Complexity:

O ( MN ) Error: 0 (“machine” precision)

The Fast Multipole Methods look for computation of the same problem with complexity o ( MN ) and error < prescribed error.

In the case when the error of the FMM does not exceed the machine precision error (for given number of bits) there is no difference between the “exact” and “approximate” solution.

Factorization

“Middleman Method”

Far Field and Near Field

Near Field

x i rc

y

Far Field

x i Rc

y

What are these rc and Rc? depends on the potential + some conventions for the terminology

Local (Regular) Expansion

x * r* y

Do not confuse with the Near Field!

We also call this R-expansion, since basis functions Rm should be regular

Basis Functions

Expansion Coefficients

Local Expansion of a Regular

Potential

x * r* y

x i

x * r*

y

x i

Can be like this:

…or like this:

| y - x *| < r * < | x i - x *|

r * > | y - x *| > | x i - x *|

x * r*

y

x i

…or like this:

r * > | x i - x *| > | y - x *|

Local Expansion of a Regular

Potential (Example)

Valid for any r * < ∞, and xi.

Local Expansion of a Regular Potential

(The same kernel, Example 2)

Local Expansion of a Singular

Potential

x * r*

y

x i

x * r*

y

x i

Can be like this:

…or like this:

| y - x *| < r * ≤ | x i - x *|

r * > | y - x *| > | x i - x *|

x * r* y

x i

…or like this:

r * > | x i - x *| > | y - x *|

Like this only! Never ever! Because x i is a singular point!

Local Expansion of a Singular

Potential (Example)

Valid for any | xi.-x| > |y-x|

Power and Taylor Series

  • Power and Taylor Series
    • Power Series in 1D
    • Taylor Series in 1D
  • Multidimensional Taylor Series
  • Factorization of Scalar Products in R d
  • Compression of Factorized Series
  • Factorization of Scalar Products in R d^ (compression)
    • Factorization in 2D.
    • Factorization in 3D.
    • Factorization in d D.
    • Multinomial Coefficients.
    • Complexity of Fast Summation.
  • General Forms of Factorization for Fast Summation

For those who love proofs

Prove the above properties!

(Not the course formal requirement, but a good exercise)

Taylor Series (Finite)

Taylor Series (Infinite)

Local 1D Taylor Expansion

Local 1D Taylor Expansion

(Example)

Multidimensional Taylor Series

Multidimensional Taylor Series

(using some vector algebra)

Example