Quantitative Analysis
Parallel Processing
Numerical Analysis
C++ Multithreading
Python for Excel
Python Utilities
Services
Author

I. Wavelet calculations.
II. Calculation of approximation spaces in one dimension.
III. Calculation of approximation spaces in one dimension II.
1. Crudification of piecewise-quadratic representation.
2. Convergence of modified cascade procedure.
3. Calculation of boundary scaling functions II.
IV. One dimensional problems.
V. Stochastic optimization in one dimension.
VI. Scalar product in N-dimensions.
VII. Wavelet transform of payoff function in N-dimensions.
VIII. Solving N-dimensional PDEs.
Downloads. Index. Contents.

Calculation of approximation spaces in one dimension II.


he previous sections ( Wavelet calculations ) and ( Calculation of approximation spaces ) contain recipes and code for constructing families of MATH -functions MATH (scaling functions) and MATH (wavelets) with the following properties

MATH (Wavelet approximation 1)
MATH (Wavelet approximation 2)
MATH (Wavelet approximation 3)
MATH (Wavelet approximation 4)
where $\varepsilon_{i}$ are small constants depending only on the number of steps of the cascade procedure. The quantities $\varepsilon_{i}$ vanish when increasing such number of steps. The sets $K_{d}$ are defined in the section ( Adapting GMRA to interval [0,1] ).

The calculations were done with plain Python means. This provided some baseline but imposed restrictions on the amount of calculations that may be performed in a reasonable time. In this section we upgrade to a Cuda/C++ based library for polynomial manipulations (see the section ( Piecewise polynomials in parallel )) and derive practical solutions.

We use the previously developed recipes, optimizations and motivations, see the chapters ( Wavelet calculations ) and ( Calculation of approximation spaces ).

The following remark on the manner of memory allocation on Cuda GPU is important for understanding of structure of the code. Experimentation with cudaGetMemInfo reveals that Cuda memory allocation/deallocation acts like stack. If one allocates blocks A,B,C and then deallocates A and B then the amount of free memory does not reflect the deallocations. One has to deallocate the C as well to actually increase the amount of free memory. Therefore, all permanent data is kept on CPU and only the operational data is temporarily placed into the GPU memory.




1. Crudification of piecewise-quadratic representation.
2. Convergence of modified cascade procedure.
3. Calculation of boundary scaling functions II.

Downloads. Index. Contents.


















Copyright 2007