An Multigrid Tutorial
|
|
- Adele Lambert
- 5 years ago
- Views:
Transcription
1 An Multgrd Tutoral Van Emden Henson Center for Appled Scentfc Computng Lawrence Lvermore Natonal Laboratory Aprl 0, 999
2 AMG: What s Algebrac Multgrd?? Any multlevel method where geometry s not used (and may not be avalable) to buld coarse grds, nterpolaton and restrcton, or coarse-grd operators. Classcal AMG was ntroduced by Brandt, McCormck and Ruge n 982. It was explored early on by Stueben n 983, and popularzed by Ruge and Stuben n 987. Ths tutoral wll descrbe only the classcal AMG algorthm. veh 2
3 AMG: What s Algebrac Multgrd?? Many other algorthms qualfy under the defnton gven. Some whose approaches are closely related to classcal AMG : Chang Grebel, Neunhoeffer, Regler Huang Krechel, Stueben Zaslavsky Work close to the orgnal, but usng dfferent approaches to coarsenng or nterpolaton: Fuhrmann Kcknger veh 3
4 AMG: What s Algebrac Multgrd?? Other approaches that are mportant, novel, hstorcal, or werd: Multgraph methods (Bank & Smth) Aggregaton methods (Braess; Chan & Zkatanov & Xu ) Smoothed Aggregaton methods (Mandel & Brezna & Vanek) Black Box Multgrd (Dendy, Dendy & Bandy) Algebrac Multlevel Recursve Solver (Saad) Element based algebrac multgrd (Charter; Cleary et al) MultCoarse correcton wth Suboptmal Operators (Sokol) Multlevel block ILU methods (Jang & Saad; Bank & Smth & Wagner; Reusken) AMG based on Element Agglomeraton (Jones & Vasslevsk) Sparse Approxmate Inverse Smoothers (Tang & Wan) Algebrac Schur-Complement approaches (Axelsson & Vasslevsk & Neytcheva) veh 4
5 veh 5 Hghlghts of Multgrd: The -d Model Problem Posson s equaton: n [0,], wth boundary condtons. Dscretzed as: Leads to the Matrx equaton, where = f u u u = ) ( = ) ( 0 0 u u 0 = = N 0 f u A = = + f h u u u f f f f f f u u u u u u h A =, =, = N N N N
6 u Hghlghts of Multgrd: Weghted Jacob Relaxaton Consder the teraton: u new u old u old u old ( ) ( ) ω ( ω) + ( ( ) ( ) f 2 ) 2h Lettng A = D+L+U, the matrx form s: ( new) ( old) = ( ω) I ωd ( L + U) u + ωd f ( old) = G u + ωd f ω. ( exact) ( approx) It s easy to see that f e u u, then e ( n ew) = G e( old) ω veh 6
7 Hghlghts of Multgrd: Relaxaton Typcally Stalls The egenvectors of G ω are the same as those of, and are Fourer Modes: = sn ( kπ / N), k =, 2,, N v A The egenvalues of G ω are 2 ω sn2 ( k π / 2N ), so the effect of relaxaton on the modes s: N = 400 ω = / 3 ω = / 2 ω = 2/ 3 ω = Note: No value of ωwll damp out the low frequency waves veh 7
8 Hghlghts of Multgrd: Relaxaton Smooths the Error Intal error, Error after several teraton sweeps: Many relaxaton schemes have the smoothng property, where oscllatory modes of the error are elmnated effectvely, but smooth modes are damped very slowly veh 8
9 Hghlghts of Multgrd: Smooth error can be represented on a coarse grd A smooth functon: Can be represented by lnear nterpolaton from a coarser grd: On the coarse grd, the smooth error appears to be relatvely hgher n frequency: n the example t s the 4-mode, out of a possble 6, on the fne grd, /4 the way up the spectrum. On the coarse grd, t s the 4-mode out of a possble 8, hence t s /2 the way up the spectrum. Relaxaton wll be more effectve on ths mode f done on the coarser grd!! veh 9
10 Hghlghts of Multgrd: Coarse-grd Correcton Perform relaxaton on A u = f on fne grd untl error s smooth. h h Compute resdual, r = f A u and transfer to the coarse grd r2 h 2h = I rh. h Solve the coarse-grd resdual equaton to obtan the error: 2h A e2h 2 r2h e2h h =, = ( A ) r2h Interpolate the error to the fne grd and correct the fne-grd soluton: u h uh + I e2h h h h h h h 2 h veh 0
11 Hghlghts of Multgrd: Coarse-grd Correcton Relax on A h Compute u r h h = = f h h f h A u h u Correct h uh + eh r Restrct 2 h 2h = I rh h e Interpolate h h I e2h 2 h 2h Solve A e 2 h = r2h e2 h 2h A ) = ( r2h veh
12 veh 2 Hghlghts of Multgrd: Tools Needed Interpolaton and restrcton operators: Lnear Injecton Full-weghtng Interpolaton Coarse-grd Operator. Two methods: () Dscretze equaton at larger spacng (2) Use Galerkn Formula: I I I h h h h h h =, =, = A 2h I A I A h h h h h h =
13 Hghlghts of Multgrd: Recurson: the ( ν,0) V-cycle f Major queston: How do we solve the coarse-grd resdual equaton? Answer: recurson! u h G ν ( A, f ) 2h 2h h h I f A uh h ( u u h 4 4h 4h h G ν ( A, f ) u ) h 2 2h 2h h G ν ( A, f ) 4h 4h 2h 2h h 2h f I ( f A u2 8h 8h 4h 4h f I f A u4h 4h ( 8 8h 8h h G ν ( A, f ) ) ) u h u 2h + e2 2 h e h I u 8 u e e I u 4 4 4h 8h h u h u8h + e8 u 8 h h h + e h h I u2h 2 h 2 h 2h h 4h u h u4h + e4 h 4 h H e H = ( A ) f H veh 3
14 Algebrac multgrd: for unstructured-grds Automatcally defnes coarse grd AMG has two dstnct phases: setup phase: defne MG components soluton phase: perform MG cycles AMG approach s opposte of geometrc MG fx relaxaton (pont Gauss-Sedel) choose coarse grds and prolongaton, P, so that error not reduced by relaxaton s n range(p) defne other MG components so that coarse-grd correcton elmnates error n range(p) (.e., use Galerkn prncple) (n contrast, geometrc MG fxes coarse grds, then defnes sutable operators and smoothers) veh 4
15 AMG has two phases: Setup Phase Select Coarse grds, Ω m +, m =, 2,... Defne nterpolaton, Im m +, m =, 2,... Defne restrcton and coarse-grd operators I + m m m + T = ( I ) A I A I m + = + m m m m + Solve Phase Standard multgrd operatons, e.g., V-cycle, W- cycle, FMG, etc veh 5
16 In AMG, we choose relaxaton frst: Typcally, pontwse Gauss-Sedel s used A = ( D + L + U) The teraton s developed: A x = Add and subtract ( D + L) ( D + L) x ol d to get: b ( D + L) x = b Ux x n ew = ( D+ L) b ( D+ L ) Ux old x n ew = x old + ( D + L ) r old veh 6
17 Gauss-Sedel relaxaton error propagaton: The teraton s: x n ew = x old + ( D + L ) r old Subtractng both sdes from the exact soluton: exact new exact old x x = x ( x + ( D + L) r old ) e n ew = e old ( D + L ) r old r = A e Usng ths can be wrtten as: e n ew = I ( D + L ) A e old veh 7
18 An observaton: error that s slow to converge small resduals Consder the teratve method error recurrence ek + = ( I Q A ) ek Error that s slow to converge satsfes ( I Q A) e e Q A e 0 r 0 Perhaps a better vewpont s ( I Q A) e e Q A e, Ae «e, Ae veh 8
19 Some mplcatons of slow convergence For most teratons (e.g., Jacob or Gauss-Sedel) ths last holds f D Ae, Ae «e, Ae. () N r2 N a «= = r e Hence mplyng that, on average, r a e «An mplcaton s that, f s an error slow to converge, then locally at least, e can be wellapproxmated by an average of ts neghbors: e veh 9
20 In Multgrd, error that s slow to converge s geometrcally smooth Combnng the algebrac property that slow convergence mples small resduals wth the observaton above, n AMG we DEFINE smooth error: Smooth error s that error whch s slow to converge under relaxaton, that s, ( I Q A) e e or, more precsely, Q A) e A ( I e A veh 20
21 But sometmes, smooth error sn t! (example from Klaus Stueben) Consder the problem on the unt square, usng a regular Cartesan grd, wth fnte dfference stencls and values for a,b,and c: 2 = h [ 2 a= b=000 c=0 a= b= c=0 ( a u x ) x A= b= c=2 a=000 b= c=0 ( b u y ) y + c u xy = f ( x, y) u x x ] u xy = u yy 2h 2 = h veh 2
22 But sometmes, smooth error sn t! ( a u x ) x ( b u y ) y + c u xy = f ( x, y) Usng a zero rght-hand sde and a random ntal guess, after 8 sweeps of Gauss-Sedel teraton the error s unchangng n norm. By our defnton, the error s smooth. And t looks lke ths: veh 22
23 ( a u Smooth error for x ) x ( b u y ) y + c u xy = f ( x, y) veh 23
24 AMG uses dependence (nfluence) to determne MG components We need to choose a subset of the grdponts (coarse grd) that can be used ) to represent smooth errors, and 2) to nterpolate these errors to the fne grd. u j Intutvely, a pont s a good canddate for a C- pont f ts value s mportant n determnng the value of another pont, u n the th equaton. If the a j coeffcent s large compared to the other off-dagonal coeffcents n the th equaton then u j nfluences u (or u depends on u j ). veh 24
25 Dependence and smooth error For M-matrces, we defne depends on j by aj θ max {ak}, 0 < θ k alternatvely, j nfluences. It s easy to show from () that smooth error A e, e «De, satsfes (2) e veh 25
26 Dependence and smooth error For M-matrces, we have from (2) a j e ej 2 «2 2 j a e If e does not depend on e j then the nequalty may be satsfed because a j s small. If e does depend on e j, then a j need not be small, and the nequalty must be satsfed by Ths mples that smooth error vares slowly n the drecton of dependence. veh 26
27 Some useful defntons The set of dependences of a varable u, that s, the varables upon whose values the value of u depends, s defned as S = j : a j > max k { a k } The set of ponts that u nfluences s denoted: T S { j : Sj } veh 27
28 More useful defntons The set of coarse-grd varables s denoted C. The set of fne-grd varables s denoted F. The set of coarse-grd varables used to nterpolate the value of the fne-grd varable u, called the coarse nterpolatory set for, s denoted C. veh 28
29 Two Crtera for Choosng the Coarse Grd Ponts Frst Crteron: F - F dependence j F S C C (C) For each, each pont should ether be n tself or should depend on at least one pont n. j S k C n C F u Snce the value of depends on the value of u j, the value of u j must be represented on the coarsegrd for good nterpolaton. If j sn t a C-pont, t should depend on a pont n C so ts value s represented n the nterpolaton. veh 29
30 Two Crtera for Choosng the Coarse Grd Ponts Second Crteron: Maxmal Subset C (C2) should be a maxmal subset wth the property that no -pont depends on another. C (C) tends to ncrease the number of -ponts. In general, the more C-ponts on Ω H, the better the h-level convergence. But more C-ponts means more work for relaxaton and nterpolaton. (C2) s desgned to lmt the sze (and work) of the coarse grd. C veh 30
31 Two Crtera for Choosng the Coarse Grd Ponts It s sometmes not possble to satsfy both crtera smultaneously (an example wll be seen shortly). In those cases, we choose to satsfy (C), the requrement that F-F dependences be represented n the coarse-nterpolatory set, whle usng (C2) as a gude. Ths choce leads to somewhat larger coarse grds, but tends to preserve good convergence propertes. veh 3
32 Choosng the Coarse Grd Ponts Assgn to each grdpont k a value equal to the number of ponts that depend on k. Choose the frst pont wth global maxmum value as a C-pont. The new C-pont can be used to nterpolate values of ponts t nfluences. Assgn them all as F- ponts. Other ponts nfluencng these new F-ponts can be used n ther nterpolaton. Increment ther value. Repeat untl all ponts are C- or F-ponts. veh 32
33 Ruge AMG: start select C-pt wth maxmal measure select neghbors as F-pts update measures of F-pt neghbors veh 33
34 Ruge AMG: select C-pt select next C-pt wth maxmal measure select neghbors as F-pts update measures of F-pt neghbors veh 34
35 Ruge AMG: select F-pt select C-pt wth maxmal measure select neghbors as F-pts update measures of F-pt neghbors veh 35
36 Ruge AMG: update F-pt neghbors select C-pt wth maxmal measure select neghbors as F-pts update measures of F-pt neghbors veh 36
37 Ruge AMG: select C-pt select next C-pt wth maxmal measure select neghbors as F-pts update measures of F-pt neghbors veh 37
38 Ruge AMG: select F-pt select next C-pt wth maxmal measure select neghbors as F-pts update measures of F-pt neghbors 5 3 veh 38
39 Ruge AMG: update F-pt neghbors select next C-pt wth maxmal measure select neghbors as F-pts update measures of F-pt neghbors 6 3 veh 39
40 Ruge AMG: select C-pt, F-pts, update neghbors select next C-pt wth maxmal measure select neghbors as F-pts update measures of F-pt neghbors veh 40
41 Ruge AMG: select C-pt, F-pts, update neghbors select next C-pt wth maxmal measure select neghbors as F-pts update measures of F-pt neghbors veh 4
42 Ruge AMG: select C-pt, F-pts, update neghbors select next C-pt wth maxmal measure select neghbors as F-pts update measures of F-pt neghbors veh 42
43 Ruge AMG: select C-pt, F-pts, update neghbors 6,7,8,9 select next C-pt wth maxmal measure select neghbors as F-pts update measures of F-pt neghbors veh 43
44 veh 44 Examples: Laplacan Operator 5-pt FD, 9-pt FE (quads), and 9-pt FE (stretched quads) pt FD 9-pt FE (quads)
45 Coarse-grd selecton: 9pt Laplacan, perodc boundary condtons select C-pt wth maxmal measure select neghbors as F-pts update measures of F-pt neghbors veh 45
46 Coarse-grd selecton: 9pt Laplacan, perodc boundary condtons select C-pt wth maxmal measure select neghbors as F-pts update measures of F-pt neghbors veh 46
47 Coarse-grd selecton: 9pt Laplacan, perodc boundary condtons select C-pt wth maxmal measure select neghbors as F-pts update measures of F-pt neghbors veh 47
48 Coarse-grd selecton: 9pt Laplacan, perodc boundary condtons select C-pt wth maxmal measure select neghbors as F-pts update measures of F-pt neghbors 8 8 veh 48
49 Coarse-grd selecton: 9pt Laplacan, perodc boundary condtons select C-pt wth maxmal measure select neghbors as F-pts update measures of new F-pt neghbors veh 49
50 Coarse-grd selecton: 9pt Laplacan, perodc boundary condtons select C-pt wth maxmal measure select neghbors as F-pts update measures of new F-pt neghbors veh 50
51 Coarse-grd selecton: 9pt Laplacan, perodc boundary condtons select C-pt wth maxmal measure select neghbors as F-pts update measures of new F-pt neghbors veh 5
52 Coarse-grd selecton: 9pt Laplacan, perodc boundary condtons select C-pt wth maxmal measure select neghbors as F-pts update measures of new F-pt neghbors veh 52
53 Coarse-grd selecton: 9pt Laplacan, perodc boundary condtons select C-pt wth maxmal measure select neghbors as F-pts update measures of new F-pt neghbors veh 53
54 Coarse-grd selecton: 9pt Laplacan, perodc boundary condtons select C-pt wth maxmal measure select neghbors as F-pts update measures of new F-pt neghbors veh 54
55 Coarse-grd selecton: 9pt Laplacan, perodc boundary condtons select C-pt wth maxmal measure select neghbors as F-pts update measures of new F-pt neghbors veh 55
56 Coarse-grd selecton: 9pt Laplacan, perodc boundary condtons Modulo perodcty, t s the same coarsenng as n the Drchlet case. However, t has many F-F connectons that do not share a common C-pont veh 56
57 Coarse-grd selecton: 9pt Laplacan, perodc boundary condtons A second pass s made n whch some F-ponts are made nto C-ponts to enforce (C). Goals of the second pass nclude mnmzng C-C connectons, and mnmzng the number of C-ponts converted to F-ponts. veh 57
58 How well does AMG coarsen: ( a u x ) x ( b u y ) y + c u xy = f ( x, y) a= b=000 c=0 A= b= c=2 a= b= c=0 a=000 b= c=0 In each regon, AMG coarsens only n the drecton of dependence! veh 58
59 How well does AMG coarsen: ( a u x ) x ( b u y ) y + c u xy = f ( x, y) a= b=000 c=0 In each regon, AMG coarsens only n the drecton of dependence! veh 59
60 How well does AMG coarsen: ( a u x ) x ( b u y ) y + c u xy = f ( x, y) a=000 b= c=0 In each regon, AMG coarsens only n the drecton of dependence! veh 60
61 How well does AMG coarsen: ( a u x ) x ( b u y ) y + c u xy = f ( x, y) a= b= c=0 In each regon, AMG coarsens only n the drecton of dependence! veh 6
62 How well does AMG coarsen: ( a u x ) x ( b u y ) y + c u xy = f ( x, y) A= b= c=2 In each regon, AMG coarsens only n the drecton of dependence! veh 62
63 Prolongaton C F C F C F e, C ( Pe) = ωk ek, F k C The nterpolated value at pont s just e f s a C- pont. If s an F-pont, the value s a weghted sum of the values of the ponts n the coarse nterpolatory set C. veh 63
64 To defne prolongaton at, we must examne the types of connectons of. u Sets of connecton types: C F C C F C D s s dependent on these coarse nterpolatory C- ponts. s dependent on these F- ponts. F D w does not depend on these weakly connected ponts, whch may be C- or F- ponts. veh 64
65 Prolongaton s based on smooth error and dependences (from M-matrces) Recall that smooth error s characterzed by small resduals: r = a e + aj ej 0 a e j N whch we can rewrte as: j We base prolongaton on ths formula by solvng for e and makng some approxmatng substtutons. a j e j veh 65
66 Prolongaton s based on smooth error and dependences (from M-matrces) We begn by wrtng the smooth-error relaton: a e a e j j j Identfyng ts component sums: a e j C a j Coarse nterpolatory set e j s j D a j e F-pont dependences j w j D a j e j Weak connectons We must approxmate e n each of the last j two sums n terms of e or of e for j C j. veh 66
67 veh 67 C C C F F F For the weak connectons: let. e e j Coarse nterpolatory set F-pont dependences Weak connectons e a j j D j j j D j j j C j w s e a e a e a Ths approxmaton can t hurt too much: Snce the connecton s weak. If depended on ponts n, smooth error vares slowly n the drecton of dependence D w Effectvely, ths throws the weak connectons onto the dagonal: + e a e a e a a j j D j j j C j j D j s w
68 For the F-pont dependences: use a weghted avg. of errors n C C. j C F C F C F a Weak connectons Approxmate e j by a weghted average of the e k n the coarse nterpolatory set C C. + j j D w a j e j C a j Coarse nterpolatory set e e j j F-pont dependences k C j D s a k C a j jk a e j e jk k It s for ths reason that the ntersecton of the coarse nterpolatory sets of two F-ponts wth a dependence relatonshp must be nonempty (C). veh 68
69 Fnally, the prolongaton weghts are defned Makng the prevous substtuton, and wth a bt of messy algebra, the smooth error relaton can be solved for to yeld the nterpolaton formula: e e j C ω j e j where the prolongaton weghts are gven: ω j = a j a + j D + n D a s m C w k a a kj a n km veh 69
70 Hghlghts of Multgrd: Storage: f h, u h must be stored each level In -d, each coarse grd has about half the number of ponts as the fner grd. In 2-d, each coarse grd has about onefourth the number of ponts as the fner grd. In d-dmensons, each coarse grd has about 2 d the number of ponts as the fner grd. d d 2d 3d Storage cost: 2N ( Md 2 less than 2, 4/3, 8/7 the cost of storage on the fne grd for, 2, and 3-d problems, respectvely. ) < 2N d d veh 70
71 AMG storage: grd complexty For AMG there s no smple predctor for total storage costs. u m, f m, and m A = m m Im A I must be stored on all levels. m σ Ω Defne, the grd complexty, as the total number of unknowns (grdponts) on all levels, dvded by the number of unknowns on the fnest level. Total u f 2σ Ω storage of the vectors and occupy storage locatons. veh 7
72 AMG storage: operator complexty σ A Defne, the operator complexty, as the total number of nonzero coeffcents of all operators A m dvded by the number of nonzero coeffcents n the fne-level operator A 0. Total storage of the operators occupes storage locatons. σ A veh 72
73 AMG storage: nterpolaton σ I We could defne, an nterpolaton complexty, as the total number of nonzero coeffcents of all operators Im + dvded by the number of nonzero coeffcents n the operator I0. Ths measure s not generally cted, however (lke most multgrdders, the AMG crowd tends to gnore the cost of ntergrd transfers). Two measures that occasonally appear are κ A, the average stencl sze, and κ I, the average number of nterpolaton ponts per F-pont. veh 73
74 AMG Setup Costs: flops Flops n the setup phase are only a small porton of the work, whch ncludes sortng, mantanng lnked-lsts, keepng counters, storage manpulaton, and garbage collecton. Estmates of the total flop count to defne nterpolaton weghts ( ω I ) and the coarse-grd operators ( ω A ) are: ωa = N κ I ( 2κ I ( κ A κ I ) + 3κ and ωi = N κ I ( 3( κa κ I) 2) I + κ A ) veh 74
75 AMG setup costs: a bad rap Many geometrc MG methods need to compute prolongaton and coarse-grd operators The only addtonal expense n the AMG setup phase s the coarse grd selecton algorthm AMG setup phase s only 0-25% more expensve than n geometrc MG and may be consderably less than that! veh 75
76 Hghlghts of Multgrd: Computaton Costs Let Work Unt (WU) be the cost of one relaxaton sweep on the fne-grd. Ignore the cost of restrcton and nterpolaton (typcally about 20% of the total cost). (See?) Consder a V-cycle wth pre-coarse-grd correcton relaxaton sweep and post-coarse- Grd correcton relaxaton sweep. Cost of V-cycle (n WU): 2 ( + 2 d 2d 3d Md ) < 2 2 Cost s about 4, 8/3, 6/7 WU per V-cycle n, 2, and 3 dmensons. d veh 76
77 AMG Solve Costs: flops per cycle The approxmate number of flops n on level m for one relaxaton sweep, resdual transfer, and nterpolaton are (respectvely) 2N A A m 2N 2 I F C m + κ Nm N I F m + 2κ Nm where Nm A s the number of coeffcents n A m C F and N N are the numbers of C-, F-ponts on Ω m. m, m ( ν, ν2) N N ν = ν + ν2 The total flop count for a V-cycle, notng that m F and lettng s approxmately m N 2 A Ω I ( ( ν + ) κ σ + 4κ + σ ) Ω veh 77
78 AMG Solve Costs: flops per cycle, agan All that s very well, but n practce we fnd the solve phase s generally domnated by the cost of relaxaton and computng the resdual. Both of those operatons are proportonal to the number of nonzero entres n the operator matrx on any gven level. Thus the best measure of the rato of work done on all levels to the work done on the fnest level s operator complexty: σ A veh 78
79 Hghlghts of Multgrd: dffcultesansotropc operators and grds Consder the operator : α «β 2 u α x 2 If then the GSsmoothng factors n the x- and y- drectons are shown at rght. Note that GS relaxaton does not damp oscllatory components n the x-drecton. 2 u β y = f ( x, y) The same phenomenon occurs for grds wth much larger spacng n one drecton than the other: veh 79
80 Hghlghts of Multgrd: dffcultesdscontnuous or ansotropc coeffcents ( D( x, y) u) Consder the operator:, where D( x, y) = d d 2 ( x, y) ( x, y) d d 2 22 ( x, y) ( x, y) Agan, GS-smoothng factors n the x- and y- drectons can be hghly varable, and very often, GS relaxaton does not damp oscllatory components n the one or both drectons. Solutons: lne-relaxaton (where whole grdlnes of values are found smultaneously), and/or semcoarsenng (coarsenng only n the strongly coupled drecton). veh 80
81 AMG does sem-coarsenng automatcally! Consder the operator : 2 u α x 2 2 u β y2 = f ( x, y) In the lmt, as α, the stencl becomes: AMG automatcally produces a sem-coarsened grd!! veh 8
82 AMG Convergence: there s theory (some) There s some theory, although t s of lmted utlty. It generally looks lke: Theorem Let A m A be SPD, and let the nterpolaton operator Im m + be full rank, and let restrcton and coarse-grd operators be defned by + m T m + + m m Im = ( Im + ) and A = Im A Im + and let there be smoothng operators G m and coarse-grd correcton operators m m m m + + m T = I Im + ( A ) Im A veh 82
83 AMG Convergence: there s theory (some) Theorem (contnued) suppose that, for all, e m G em 2 em 2 m δ T em m 2 A A A holds for some δ > 0 ndependently for all and m. e m Then δ, and, provded the coarsest problem s solved and at least one smoothng step s performed after each coarse-grd correcton step, the V-cycle has a convergence factor wrt the energy norm bounded above by δ. veh 83
84 How s t perform (vol I)? Regular grds, plan, old, vanlla problems The Laplace Operator: Convergence Tme Setup Stencl per cycle Complexty per Cycle Tmes 5-pt pt skew pt (-,8) pt (-,-4,20) Ansotropc Laplacan: ε U xx U yy Epslon Convergence/cycle veh 84
85 How s t perform (vol II)? Structured Meshes, Rectangular Domans 5-pont Laplacan on regular rectangular grds Convergence factor (y-axs) plotted aganst number of nodes (x-axs) veh 85
86 How s t perform (vol III)? Unstructured Meshes, Rectangular Domans Laplacan on random unstructured grds (regular trangulatons, 5-20% nodes randomly collapsed nto neghborng nodes) Convergence factor (y-axs) plotted aganst number of nodes (x-axs) veh 86
87 How s t perform (vol IV)? Isotropc dffuson, Structured/Unstructured Grds ( d( x, y) u) on structured, unstructured grds Problems used: a means parameter c=0, b means c=000 6: d( x, y) =. 0 + c x y 7: d( x, y) N=6642 N=66049 N=3755 N=5458 Structured Structured Unstruct. Unstruct.. 0 = c x x 0. 5 > : 9: d( x, y) d( x, y). 0 = c =. 0 c max { x 0. 5 ( x 0. 5), otherwse 2 + ( y 0. 5) otherwse y a 6 b 7 a 7 b 8 a 8 b 9 a 9 b } veh 87
88 ( 0 How s t perform (vol IVa)? Isotropc dffuson, Structured/Unstructured Grds d( x, y) u) N=6642 N=66049 N=3755 N=5458 Structured Structured Unstruct. Unstruct. on structured, unstructured grds 0 a, n = 2 0 b, n = 2 a, n = 0 b, n = 0 2 a, n = b, n = 5 0 Problem used: a means parameter c=0, b means c=000 Checkerboard of coeffcents.0 and c, squares szed /n: + j j +. 0 n x < n, n y < n, + j even d( x, y) = + j j + c n x < n, n y < n, + j odd veh 88
89 How s t perform (vol V)? Laplacan operator, unstructured Grds Convergence factor Grdponts veh 89
90 So, what could go wrong? Strong F-F connectons: weghts are dependent on each other e j For pont the value s nterpolated from,, and s needed to make the nterpolaton weghts for approxmatng e. For pont j the value e s nterpolated from k, k 2, and s needed to make the nterpolaton weghts for approxmatng e j. It s an mplct system! k k C C j k k 2 k 3 C k 4 C j j k k 2 2 C C j veh 90
91 Is there a fx? A Gauss-Sedel lke teratve approach to weght defnton s mplemented. Usually two passes suffce. But does t work? Frequently, t does: Convergence factors for Laplacan, stretched quadrlaterals x = 0 y theta Standard Iteratve x = 00 y veh 9
92 Another Fx: ndrect nterpolaton (see Stueben s text for detal) The 5-pont problem cannot gve full coarsenng because the F-pont n the mddle has no connecton to any of the 4 C-ponts. Hence, there s no way to nterpolate ts value. veh 92
93 Another Fx: ndrect nterpolaton (see Stueben s text for detal) Full coarsenng could be acheved by ndrect nterpolaton. Frst nterpolate the F-ponts from the C-ponts. veh 93
94 Another Fx: ndrect nterpolaton (see Stueben s text for detal) Full coarsenng could be acheved by ndrect nterpolaton. Frst nterpolate the F-ponts from the C-ponts. Then nterpolate the mddle from the F-ponts. Smlar treatment could be appled whenever F-F dependences arse. veh 94
95 AMG for systems How can we do AMG on systems? A A 2 A A 2 22 Naïve approach: Block approach (block Gauss-Sedel, usng scalar AMG to solve at each cycle) u v = f g u ( A ) ( f A 2 v) v ( A 22 ) ( g A 2 u ) Great Idea! Except that t doesn t work! (relaxaton does not evenly smooth errors n both unknowns) veh 95
96 AMG for systems: a soluton To solve the system problem, allow nteracton between the unknowns at all levels: A k = A A k k 2 A A k 2 k 22 and I k k + = ( I k k + 0 ) u ( I 0 k k + ) v Ths s called the unknown approach. Results: 2-D elastcty, unform quadrlateral mesh: mesh spacng Convergence factor veh 96
97 So, what else can go wrong? Ouch! Thn body elastcty! Elastcty, 3-d, thn bodes! u v w xx yy zz ν + ( u 2 ν + ( v 2 ν + ( w 2 yy xx xx u v w zz zz yy ) ) ) + ν + ( v 2 + ν + ( u 2 + ν + ( u 2 Slde surfaces, Lagrange multplers, force balance constrants: S U T V x x 2 S s generally postve defnte, V can be zero, U T T. = xy xy xz F F w w v xz yz yz ) ) ) = = = f f f 2 3 Wanted: Good soluton method for ths problem. REWARD veh 97
98 Needed: more robust methods for characterzng smooth error Consder quadrlateral fnte elements on a stretched 2D Cartesan grd (dx -> nfnty): A = Drecton of dependence s not apparent here Iteratve weght nterpolaton wll sometmes compensate for ms-dentfed dependence Elastcty problems are stll problematc veh 98
99 Scalablty s central for large-scale parallel computng A code s scalable f t can effectvely use addtonal computatonal resources to solve larger problems Many specfc factors contrbute to scalablty: archtecture of the parallel computer parallel mplementaton of the algorthms convergence rates of teratve lnear solvers Lnear solver convergence can can be be dscussed ndependent of of parallel computng, and and s s often overlooked as as a key key scalablty ssue. veh 99
100 In Concluson, AMG Rules! Interest n AMG methods s hgh, and probably stll rsng, because of the ncreasng mportance of terra-scale smulatons on unstructured grds. AMG has been shown to be a robust, effcent solver on a wde varety of problems of real-world nterest. Much research s underway to fnd effectve ways of parallelzng AMG, whch s essental to largescale computng. veh 00
101 Acknowledgment Ths work was performed under the auspces of the U. S. Department of Energy by Lawrence Lvermore Natonal Laboratory under contract number: W-7405-Eng-48. Document Release number UCRL-MI veh 0
CME 302: NUMERICAL LINEAR ALGEBRA FALL 2005/06 LECTURE 13
CME 30: NUMERICAL LINEAR ALGEBRA FALL 005/06 LECTURE 13 GENE H GOLUB 1 Iteratve Methods Very large problems (naturally sparse, from applcatons): teratve methods Structured matrces (even sometmes dense,
More informationRelaxation Methods for Iterative Solution to Linear Systems of Equations
Relaxaton Methods for Iteratve Soluton to Lnear Systems of Equatons Gerald Recktenwald Portland State Unversty Mechancal Engneerng Department gerry@pdx.edu Overvew Techncal topcs Basc Concepts Statonary
More informationMultigrid Methods and Applications in CFD
Multgrd Metods and Applcatons n CFD Mcael Wurst 0 May 009 Contents Introducton Typcal desgn of CFD solvers 3 Basc metods and ter propertes for solvng lnear systems of equatons 4 Geometrc Multgrd 3 5 Algebrac
More informationChapter 5. Solution of System of Linear Equations. Module No. 6. Solution of Inconsistent and Ill Conditioned Systems
Numercal Analyss by Dr. Anta Pal Assstant Professor Department of Mathematcs Natonal Insttute of Technology Durgapur Durgapur-713209 emal: anta.bue@gmal.com 1 . Chapter 5 Soluton of System of Lnear Equatons
More informationErrors for Linear Systems
Errors for Lnear Systems When we solve a lnear system Ax b we often do not know A and b exactly, but have only approxmatons  and ˆb avalable. Then the best thng we can do s to solve ˆx ˆb exactly whch
More informationCHAPTER 5 NUMERICAL EVALUATION OF DYNAMIC RESPONSE
CHAPTER 5 NUMERICAL EVALUATION OF DYNAMIC RESPONSE Analytcal soluton s usually not possble when exctaton vares arbtrarly wth tme or f the system s nonlnear. Such problems can be solved by numercal tmesteppng
More informationLectures - Week 4 Matrix norms, Conditioning, Vector Spaces, Linear Independence, Spanning sets and Basis, Null space and Range of a Matrix
Lectures - Week 4 Matrx norms, Condtonng, Vector Spaces, Lnear Independence, Spannng sets and Bass, Null space and Range of a Matrx Matrx Norms Now we turn to assocatng a number to each matrx. We could
More informationAppendix B. The Finite Difference Scheme
140 APPENDIXES Appendx B. The Fnte Dfference Scheme In ths appendx we present numercal technques whch are used to approxmate solutons of system 3.1 3.3. A comprehensve treatment of theoretcal and mplementaton
More informationSTAT 309: MATHEMATICAL COMPUTATIONS I FALL 2018 LECTURE 16
STAT 39: MATHEMATICAL COMPUTATIONS I FALL 218 LECTURE 16 1 why teratve methods f we have a lnear system Ax = b where A s very, very large but s ether sparse or structured (eg, banded, Toepltz, banded plus
More informationNorms, Condition Numbers, Eigenvalues and Eigenvectors
Norms, Condton Numbers, Egenvalues and Egenvectors 1 Norms A norm s a measure of the sze of a matrx or a vector For vectors the common norms are: N a 2 = ( x 2 1/2 the Eucldean Norm (1a b 1 = =1 N x (1b
More informationReport on Image warping
Report on Image warpng Xuan Ne, Dec. 20, 2004 Ths document summarzed the algorthms of our mage warpng soluton for further study, and there s a detaled descrpton about the mplementaton of these algorthms.
More informationSome Comments on Accelerating Convergence of Iterative Sequences Using Direct Inversion of the Iterative Subspace (DIIS)
Some Comments on Acceleratng Convergence of Iteratve Sequences Usng Drect Inverson of the Iteratve Subspace (DIIS) C. Davd Sherrll School of Chemstry and Bochemstry Georga Insttute of Technology May 1998
More informationLecture 12: Discrete Laplacian
Lecture 12: Dscrete Laplacan Scrbe: Tanye Lu Our goal s to come up wth a dscrete verson of Laplacan operator for trangulated surfaces, so that we can use t n practce to solve related problems We are mostly
More informationAPPENDIX A Some Linear Algebra
APPENDIX A Some Lnear Algebra The collecton of m, n matrces A.1 Matrces a 1,1,..., a 1,n A = a m,1,..., a m,n wth real elements a,j s denoted by R m,n. If n = 1 then A s called a column vector. Smlarly,
More informationKernel Methods and SVMs Extension
Kernel Methods and SVMs Extenson The purpose of ths document s to revew materal covered n Machne Learnng 1 Supervsed Learnng regardng support vector machnes (SVMs). Ths document also provdes a general
More informationNUMERICAL DIFFERENTIATION
NUMERICAL DIFFERENTIATION 1 Introducton Dfferentaton s a method to compute the rate at whch a dependent output y changes wth respect to the change n the ndependent nput x. Ths rate of change s called the
More informationFTCS Solution to the Heat Equation
FTCS Soluton to the Heat Equaton ME 448/548 Notes Gerald Recktenwald Portland State Unversty Department of Mechancal Engneerng gerry@pdx.edu ME 448/548: FTCS Soluton to the Heat Equaton Overvew 1. Use
More informationLecture 21: Numerical methods for pricing American type derivatives
Lecture 21: Numercal methods for prcng Amercan type dervatves Xaoguang Wang STAT 598W Aprl 10th, 2014 (STAT 598W) Lecture 21 1 / 26 Outlne 1 Fnte Dfference Method Explct Method Penalty Method (STAT 598W)
More informationComputational Astrophysics
Computatonal Astrophyscs Solvng for Gravty Alexander Knebe, Unversdad Autonoma de Madrd Computatonal Astrophyscs Solvng for Gravty the equatons full set of equatons collsonless matter (e.g. dark matter
More informationModule 3 LOSSY IMAGE COMPRESSION SYSTEMS. Version 2 ECE IIT, Kharagpur
Module 3 LOSSY IMAGE COMPRESSION SYSTEMS Verson ECE IIT, Kharagpur Lesson 6 Theory of Quantzaton Verson ECE IIT, Kharagpur Instructonal Objectves At the end of ths lesson, the students should be able to:
More informationFeature Selection: Part 1
CSE 546: Machne Learnng Lecture 5 Feature Selecton: Part 1 Instructor: Sham Kakade 1 Regresson n the hgh dmensonal settng How do we learn when the number of features d s greater than the sample sze n?
More informationMMA and GCMMA two methods for nonlinear optimization
MMA and GCMMA two methods for nonlnear optmzaton Krster Svanberg Optmzaton and Systems Theory, KTH, Stockholm, Sweden. krlle@math.kth.se Ths note descrbes the algorthms used n the author s 2007 mplementatons
More informationVector Norms. Chapter 7 Iterative Techniques in Matrix Algebra. Cauchy-Bunyakovsky-Schwarz Inequality for Sums. Distances. Convergence.
Vector Norms Chapter 7 Iteratve Technques n Matrx Algebra Per-Olof Persson persson@berkeley.edu Department of Mathematcs Unversty of Calforna, Berkeley Math 128B Numercal Analyss Defnton A vector norm
More informationBootstrap AMG for Markov Chain Computations
Bootstrap AMG for Markov Chan Computatons Karsten Kahl Bergsche Unverstät Wuppertal May 27, 200 Outlne Markov Chans Subspace Egenvalue Approxmaton Ingredents of Least Squares Interpolaton Egensolver Bootstrap
More informationFinite Element Modelling of truss/cable structures
Pet Schreurs Endhoven Unversty of echnology Department of Mechancal Engneerng Materals echnology November 3, 214 Fnte Element Modellng of truss/cable structures 1 Fnte Element Analyss of prestressed structures
More informationEcon107 Applied Econometrics Topic 3: Classical Model (Studenmund, Chapter 4)
I. Classcal Assumptons Econ7 Appled Econometrcs Topc 3: Classcal Model (Studenmund, Chapter 4) We have defned OLS and studed some algebrac propertes of OLS. In ths topc we wll study statstcal propertes
More informationU.C. Berkeley CS294: Beyond Worst-Case Analysis Luca Trevisan September 5, 2017
U.C. Berkeley CS94: Beyond Worst-Case Analyss Handout 4s Luca Trevsan September 5, 07 Summary of Lecture 4 In whch we ntroduce semdefnte programmng and apply t to Max Cut. Semdefnte Programmng Recall that
More information1 GSW Iterative Techniques for y = Ax
1 for y = A I m gong to cheat here. here are a lot of teratve technques that can be used to solve the general case of a set of smultaneous equatons (wrtten n the matr form as y = A), but ths chapter sn
More informationLecture 10 Support Vector Machines II
Lecture 10 Support Vector Machnes II 22 February 2016 Taylor B. Arnold Yale Statstcs STAT 365/665 1/28 Notes: Problem 3 s posted and due ths upcomng Frday There was an early bug n the fake-test data; fxed
More informationThe Finite Element Method
The Fnte Element Method GENERAL INTRODUCTION Read: Chapters 1 and 2 CONTENTS Engneerng and analyss Smulaton of a physcal process Examples mathematcal model development Approxmate solutons and methods of
More informationMore metrics on cartesian products
More metrcs on cartesan products If (X, d ) are metrc spaces for 1 n, then n Secton II4 of the lecture notes we defned three metrcs on X whose underlyng topologes are the product topology The purpose of
More informationCSci 6974 and ECSE 6966 Math. Tech. for Vision, Graphics and Robotics Lecture 21, April 17, 2006 Estimating A Plane Homography
CSc 6974 and ECSE 6966 Math. Tech. for Vson, Graphcs and Robotcs Lecture 21, Aprl 17, 2006 Estmatng A Plane Homography Overvew We contnue wth a dscusson of the major ssues, usng estmaton of plane projectve
More information1 Matrix representations of canonical matrices
1 Matrx representatons of canoncal matrces 2-d rotaton around the orgn: ( ) cos θ sn θ R 0 = sn θ cos θ 3-d rotaton around the x-axs: R x = 1 0 0 0 cos θ sn θ 0 sn θ cos θ 3-d rotaton around the y-axs:
More informationCollege of Computer & Information Science Fall 2009 Northeastern University 20 October 2009
College of Computer & Informaton Scence Fall 2009 Northeastern Unversty 20 October 2009 CS7880: Algorthmc Power Tools Scrbe: Jan Wen and Laura Poplawsk Lecture Outlne: Prmal-dual schema Network Desgn:
More informationPHYS 705: Classical Mechanics. Calculus of Variations II
1 PHYS 705: Classcal Mechancs Calculus of Varatons II 2 Calculus of Varatons: Generalzaton (no constrant yet) Suppose now that F depends on several dependent varables : We need to fnd such that has a statonary
More informationNumerical Heat and Mass Transfer
Master degree n Mechancal Engneerng Numercal Heat and Mass Transfer 06-Fnte-Dfference Method (One-dmensonal, steady state heat conducton) Fausto Arpno f.arpno@uncas.t Introducton Why we use models and
More informationSingular Value Decomposition: Theory and Applications
Sngular Value Decomposton: Theory and Applcatons Danel Khashab Sprng 2015 Last Update: March 2, 2015 1 Introducton A = UDV where columns of U and V are orthonormal and matrx D s dagonal wth postve real
More informationInductance Calculation for Conductors of Arbitrary Shape
CRYO/02/028 Aprl 5, 2002 Inductance Calculaton for Conductors of Arbtrary Shape L. Bottura Dstrbuton: Internal Summary In ths note we descrbe a method for the numercal calculaton of nductances among conductors
More informationSalmon: Lectures on partial differential equations. Consider the general linear, second-order PDE in the form. ,x 2
Salmon: Lectures on partal dfferental equatons 5. Classfcaton of second-order equatons There are general methods for classfyng hgher-order partal dfferental equatons. One s very general (applyng even to
More informationHongyi Miao, College of Science, Nanjing Forestry University, Nanjing ,China. (Received 20 June 2013, accepted 11 March 2014) I)ϕ (k)
ISSN 1749-3889 (prnt), 1749-3897 (onlne) Internatonal Journal of Nonlnear Scence Vol.17(2014) No.2,pp.188-192 Modfed Block Jacob-Davdson Method for Solvng Large Sparse Egenproblems Hongy Mao, College of
More informationBOUNDEDNESS OF THE RIESZ TRANSFORM WITH MATRIX A 2 WEIGHTS
BOUNDEDNESS OF THE IESZ TANSFOM WITH MATIX A WEIGHTS Introducton Let L = L ( n, be the functon space wth norm (ˆ f L = f(x C dx d < For a d d matrx valued functon W : wth W (x postve sem-defnte for all
More informationMATH 5630: Discrete Time-Space Model Hung Phan, UMass Lowell March 1, 2018
MATH 5630: Dscrete Tme-Space Model Hung Phan, UMass Lowell March, 08 Newton s Law of Coolng Consder the coolng of a well strred coffee so that the temperature does not depend on space Newton s law of collng
More informationOutline and Reading. Dynamic Programming. Dynamic Programming revealed. Computing Fibonacci. The General Dynamic Programming Technique
Outlne and Readng Dynamc Programmng The General Technque ( 5.3.2) -1 Knapsac Problem ( 5.3.3) Matrx Chan-Product ( 5.3.1) Dynamc Programmng verson 1.4 1 Dynamc Programmng verson 1.4 2 Dynamc Programmng
More informationA Robust Method for Calculating the Correlation Coefficient
A Robust Method for Calculatng the Correlaton Coeffcent E.B. Nven and C. V. Deutsch Relatonshps between prmary and secondary data are frequently quantfed usng the correlaton coeffcent; however, the tradtonal
More informationTemperature. Chapter Heat Engine
Chapter 3 Temperature In prevous chapters of these notes we ntroduced the Prncple of Maxmum ntropy as a technque for estmatng probablty dstrbutons consstent wth constrants. In Chapter 9 we dscussed the
More informationModeling curves. Graphs: y = ax+b, y = sin(x) Implicit ax + by + c = 0, x 2 +y 2 =r 2 Parametric:
Modelng curves Types of Curves Graphs: y = ax+b, y = sn(x) Implct ax + by + c = 0, x 2 +y 2 =r 2 Parametrc: x = ax + bxt x = cos t y = ay + byt y = snt Parametrc are the most common mplct are also used,
More informationELASTIC WAVE PROPAGATION IN A CONTINUOUS MEDIUM
ELASTIC WAVE PROPAGATION IN A CONTINUOUS MEDIUM An elastc wave s a deformaton of the body that travels throughout the body n all drectons. We can examne the deformaton over a perod of tme by fxng our look
More informationGrover s Algorithm + Quantum Zeno Effect + Vaidman
Grover s Algorthm + Quantum Zeno Effect + Vadman CS 294-2 Bomb 10/12/04 Fall 2004 Lecture 11 Grover s algorthm Recall that Grover s algorthm for searchng over a space of sze wors as follows: consder the
More informationNew Method for Solving Poisson Equation. on Irregular Domains
Appled Mathematcal Scences Vol. 6 01 no. 8 369 380 New Method for Solvng Posson Equaton on Irregular Domans J. Izadan and N. Karamooz Department of Mathematcs Facult of Scences Mashhad BranchIslamc Azad
More informationDifference Equations
Dfference Equatons c Jan Vrbk 1 Bascs Suppose a sequence of numbers, say a 0,a 1,a,a 3,... s defned by a certan general relatonshp between, say, three consecutve values of the sequence, e.g. a + +3a +1
More informationSTAT 309: MATHEMATICAL COMPUTATIONS I FALL 2018 LECTURE 17. a ij x (k) b i. a ij x (k+1) (D + L)x (k+1) = b Ux (k)
STAT 309: MATHEMATICAL COMPUTATIONS I FALL 08 LECTURE 7. sor method remnder: n coordnatewse form, Jacob method s = [ b a x (k) a and Gauss Sedel method s = [ b a = = remnder: n matrx form, Jacob method
More informationChapter 12. Ordinary Differential Equation Boundary Value (BV) Problems
Chapter. Ordnar Dfferental Equaton Boundar Value (BV) Problems In ths chapter we wll learn how to solve ODE boundar value problem. BV ODE s usuall gven wth x beng the ndependent space varable. p( x) q(
More informationSolutions HW #2. minimize. Ax = b. Give the dual problem, and make the implicit equality constraints explicit. Solution.
Solutons HW #2 Dual of general LP. Fnd the dual functon of the LP mnmze subject to c T x Gx h Ax = b. Gve the dual problem, and make the mplct equalty constrants explct. Soluton. 1. The Lagrangan s L(x,
More informationDeriving the X-Z Identity from Auxiliary Space Method
Dervng the X-Z Identty from Auxlary Space Method Long Chen Department of Mathematcs, Unversty of Calforna at Irvne, Irvne, CA 92697 chenlong@math.uc.edu 1 Iteratve Methods In ths paper we dscuss teratve
More informationInexact Newton Methods for Inverse Eigenvalue Problems
Inexact Newton Methods for Inverse Egenvalue Problems Zheng-jan Ba Abstract In ths paper, we survey some of the latest development n usng nexact Newton-lke methods for solvng nverse egenvalue problems.
More informationAPPROXIMATE PRICES OF BASKET AND ASIAN OPTIONS DUPONT OLIVIER. Premia 14
APPROXIMAE PRICES OF BASKE AND ASIAN OPIONS DUPON OLIVIER Prema 14 Contents Introducton 1 1. Framewor 1 1.1. Baset optons 1.. Asan optons. Computng the prce 3. Lower bound 3.1. Closed formula for the prce
More informationSecond Order Analysis
Second Order Analyss In the prevous classes we looked at a method that determnes the load correspondng to a state of bfurcaton equlbrum of a perfect frame by egenvalye analyss The system was assumed to
More information2.3 Nilpotent endomorphisms
s a block dagonal matrx, wth A Mat dm U (C) In fact, we can assume that B = B 1 B k, wth B an ordered bass of U, and that A = [f U ] B, where f U : U U s the restrcton of f to U 40 23 Nlpotent endomorphsms
More informationLecture 4: Universal Hash Functions/Streaming Cont d
CSE 5: Desgn and Analyss of Algorthms I Sprng 06 Lecture 4: Unversal Hash Functons/Streamng Cont d Lecturer: Shayan Oves Gharan Aprl 6th Scrbe: Jacob Schreber Dsclamer: These notes have not been subjected
More informationLimited Dependent Variables
Lmted Dependent Varables. What f the left-hand sde varable s not a contnuous thng spread from mnus nfnty to plus nfnty? That s, gven a model = f (, β, ε, where a. s bounded below at zero, such as wages
More informationRandom Walks on Digraphs
Random Walks on Dgraphs J. J. P. Veerman October 23, 27 Introducton Let V = {, n} be a vertex set and S a non-negatve row-stochastc matrx (.e. rows sum to ). V and S defne a dgraph G = G(V, S) and a drected
More informationAffine transformations and convexity
Affne transformatons and convexty The purpose of ths document s to prove some basc propertes of affne transformatons nvolvng convex sets. Here are a few onlne references for background nformaton: http://math.ucr.edu/
More informationFor now, let us focus on a specific model of neurons. These are simplified from reality but can achieve remarkable results.
Neural Networks : Dervaton compled by Alvn Wan from Professor Jtendra Malk s lecture Ths type of computaton s called deep learnng and s the most popular method for many problems, such as computer vson
More informationLECTURE 9 CANONICAL CORRELATION ANALYSIS
LECURE 9 CANONICAL CORRELAION ANALYSIS Introducton he concept of canoncal correlaton arses when we want to quantfy the assocatons between two sets of varables. For example, suppose that the frst set of
More informationTransfer Functions. Convenient representation of a linear, dynamic model. A transfer function (TF) relates one input and one output: ( ) system
Transfer Functons Convenent representaton of a lnear, dynamc model. A transfer functon (TF) relates one nput and one output: x t X s y t system Y s The followng termnology s used: x y nput output forcng
More informationA New Refinement of Jacobi Method for Solution of Linear System Equations AX=b
Int J Contemp Math Scences, Vol 3, 28, no 17, 819-827 A New Refnement of Jacob Method for Soluton of Lnear System Equatons AX=b F Naem Dafchah Department of Mathematcs, Faculty of Scences Unversty of Gulan,
More informationModule 9. Lecture 6. Duality in Assignment Problems
Module 9 1 Lecture 6 Dualty n Assgnment Problems In ths lecture we attempt to answer few other mportant questons posed n earler lecture for (AP) and see how some of them can be explaned through the concept
More informationNON-CENTRAL 7-POINT FORMULA IN THE METHOD OF LINES FOR PARABOLIC AND BURGERS' EQUATIONS
IJRRAS 8 (3 September 011 www.arpapress.com/volumes/vol8issue3/ijrras_8_3_08.pdf NON-CENTRAL 7-POINT FORMULA IN THE METHOD OF LINES FOR PARABOLIC AND BURGERS' EQUATIONS H.O. Bakodah Dept. of Mathematc
More informationStatistical Inference. 2.3 Summary Statistics Measures of Center and Spread. parameters ( population characteristics )
Ismor Fscher, 8//008 Stat 54 / -8.3 Summary Statstcs Measures of Center and Spread Dstrbuton of dscrete contnuous POPULATION Random Varable, numercal True center =??? True spread =???? parameters ( populaton
More informationChapter 2 - The Simple Linear Regression Model S =0. e i is a random error. S β2 β. This is a minimization problem. Solution is a calculus exercise.
Chapter - The Smple Lnear Regresson Model The lnear regresson equaton s: where y + = β + β e for =,..., y and are observable varables e s a random error How can an estmaton rule be constructed for the
More informationBezier curves. Michael S. Floater. August 25, These notes provide an introduction to Bezier curves. i=0
Bezer curves Mchael S. Floater August 25, 211 These notes provde an ntroducton to Bezer curves. 1 Bernsten polynomals Recall that a real polynomal of a real varable x R, wth degree n, s a functon of the
More informationCanonical transformations
Canoncal transformatons November 23, 2014 Recall that we have defned a symplectc transformaton to be any lnear transformaton M A B leavng the symplectc form nvarant, Ω AB M A CM B DΩ CD Coordnate transformatons,
More informationLINEAR REGRESSION ANALYSIS. MODULE IX Lecture Multicollinearity
LINEAR REGRESSION ANALYSIS MODULE IX Lecture - 30 Multcollnearty Dr. Shalabh Department of Mathematcs and Statstcs Indan Insttute of Technology Kanpur 2 Remedes for multcollnearty Varous technques have
More informationFormal solvers of the RT equation
Formal solvers of the RT equaton Formal RT solvers Runge- Kutta (reference solver) Pskunov N.: 979, Master Thess Long characterstcs (Feautrer scheme) Cannon C.J.: 970, ApJ 6, 55 Short characterstcs (Hermtan
More informationHigh resolution entropy stable scheme for shallow water equations
Internatonal Symposum on Computers & Informatcs (ISCI 05) Hgh resoluton entropy stable scheme for shallow water equatons Xaohan Cheng,a, Yufeng Ne,b, Department of Appled Mathematcs, Northwestern Polytechncal
More informationOne-sided finite-difference approximations suitable for use with Richardson extrapolation
Journal of Computatonal Physcs 219 (2006) 13 20 Short note One-sded fnte-dfference approxmatons sutable for use wth Rchardson extrapolaton Kumar Rahul, S.N. Bhattacharyya * Department of Mechancal Engneerng,
More informationArmy Ants Tunneling for Classical Simulations
Electronc Supplementary Materal (ESI) for Chemcal Scence. Ths journal s The Royal Socety of Chemstry 2014 electronc supplementary nformaton (ESI) for Chemcal Scence Army Ants Tunnelng for Classcal Smulatons
More informationDECOUPLING THEORY HW2
8.8 DECOUPLIG THEORY HW2 DOGHAO WAG DATE:OCT. 3 207 Problem We shall start by reformulatng the problem. Denote by δ S n the delta functon that s evenly dstrbuted at the n ) dmensonal unt sphere. As a temporal
More informationConvexity preserving interpolation by splines of arbitrary degree
Computer Scence Journal of Moldova, vol.18, no.1(52), 2010 Convexty preservng nterpolaton by splnes of arbtrary degree Igor Verlan Abstract In the present paper an algorthm of C 2 nterpolaton of dscrete
More information2 Finite difference basics
Numersche Methoden 1, WS 11/12 B.J.P. Kaus 2 Fnte dfference bascs Consder the one- The bascs of the fnte dfference method are best understood wth an example. dmensonal transent heat conducton equaton T
More informationSIO 224. m(r) =(ρ(r),k s (r),µ(r))
SIO 224 1. A bref look at resoluton analyss Here s some background for the Masters and Gubbns resoluton paper. Global Earth models are usually found teratvely by assumng a startng model and fndng small
More informationSolutions to exam in SF1811 Optimization, Jan 14, 2015
Solutons to exam n SF8 Optmzaton, Jan 4, 25 3 3 O------O -4 \ / \ / The network: \/ where all lnks go from left to rght. /\ / \ / \ 6 O------O -5 2 4.(a) Let x = ( x 3, x 4, x 23, x 24 ) T, where the varable
More informationLecture 17: Lee-Sidford Barrier
CSE 599: Interplay between Convex Optmzaton and Geometry Wnter 2018 Lecturer: Yn Tat Lee Lecture 17: Lee-Sdford Barrer Dsclamer: Please tell me any mstake you notced. In ths lecture, we talk about the
More informationChapter 4 The Wave Equation
Chapter 4 The Wave Equaton Another classcal example of a hyperbolc PDE s a wave equaton. The wave equaton s a second-order lnear hyperbolc PDE that descrbes the propagaton of a varety of waves, such as
More informationCHAPTER 17 Amortized Analysis
CHAPTER 7 Amortzed Analyss In an amortzed analyss, the tme requred to perform a sequence of data structure operatons s averaged over all the operatons performed. It can be used to show that the average
More information2.29 Numerical Fluid Mechanics
REVIEW Lecture 10: Sprng 2015 Lecture 11 Classfcaton of Partal Dfferental Equatons PDEs) and eamples wth fnte dfference dscretzatons Parabolc PDEs Ellptc PDEs Hyperbolc PDEs Error Types and Dscretzaton
More informationBézier curves. Michael S. Floater. September 10, These notes provide an introduction to Bézier curves. i=0
Bézer curves Mchael S. Floater September 1, 215 These notes provde an ntroducton to Bézer curves. 1 Bernsten polynomals Recall that a real polynomal of a real varable x R, wth degree n, s a functon of
More informationYong Joon Ryang. 1. Introduction Consider the multicommodity transportation problem with convex quadratic cost function. 1 2 (x x0 ) T Q(x x 0 )
Kangweon-Kyungk Math. Jour. 4 1996), No. 1, pp. 7 16 AN ITERATIVE ROW-ACTION METHOD FOR MULTICOMMODITY TRANSPORTATION PROBLEMS Yong Joon Ryang Abstract. The optmzaton problems wth quadratc constrants often
More informationGlobal Sensitivity. Tuesday 20 th February, 2018
Global Senstvty Tuesday 2 th February, 28 ) Local Senstvty Most senstvty analyses [] are based on local estmates of senstvty, typcally by expandng the response n a Taylor seres about some specfc values
More information4DVAR, according to the name, is a four-dimensional variational method.
4D-Varatonal Data Assmlaton (4D-Var) 4DVAR, accordng to the name, s a four-dmensonal varatonal method. 4D-Var s actually a drect generalzaton of 3D-Var to handle observatons that are dstrbuted n tme. The
More informationLecture 10: May 6, 2013
TTIC/CMSC 31150 Mathematcal Toolkt Sprng 013 Madhur Tulsan Lecture 10: May 6, 013 Scrbe: Wenje Luo In today s lecture, we manly talked about random walk on graphs and ntroduce the concept of graph expander,
More informationProblem Set 9 Solutions
Desgn and Analyss of Algorthms May 4, 2015 Massachusetts Insttute of Technology 6.046J/18.410J Profs. Erk Demane, Srn Devadas, and Nancy Lynch Problem Set 9 Solutons Problem Set 9 Solutons Ths problem
More informationDUE: WEDS FEB 21ST 2018
HOMEWORK # 1: FINITE DIFFERENCES IN ONE DIMENSION DUE: WEDS FEB 21ST 2018 1. Theory Beam bendng s a classcal engneerng analyss. The tradtonal soluton technque makes smplfyng assumptons such as a constant
More informationResource Allocation with a Budget Constraint for Computing Independent Tasks in the Cloud
Resource Allocaton wth a Budget Constrant for Computng Independent Tasks n the Cloud Wemng Sh and Bo Hong School of Electrcal and Computer Engneerng Georga Insttute of Technology, USA 2nd IEEE Internatonal
More informationSome modelling aspects for the Matlab implementation of MMA
Some modellng aspects for the Matlab mplementaton of MMA Krster Svanberg krlle@math.kth.se Optmzaton and Systems Theory Department of Mathematcs KTH, SE 10044 Stockholm September 2004 1. Consdered optmzaton
More informationPrimer on High-Order Moment Estimators
Prmer on Hgh-Order Moment Estmators Ton M. Whted July 2007 The Errors-n-Varables Model We wll start wth the classcal EIV for one msmeasured regressor. The general case s n Erckson and Whted Econometrc
More informationStructure and Drive Paul A. Jensen Copyright July 20, 2003
Structure and Drve Paul A. Jensen Copyrght July 20, 2003 A system s made up of several operatons wth flow passng between them. The structure of the system descrbes the flow paths from nputs to outputs.
More informationFeb 14: Spatial analysis of data fields
Feb 4: Spatal analyss of data felds Mappng rregularly sampled data onto a regular grd Many analyss technques for geophyscal data requre the data be located at regular ntervals n space and/or tme. hs s
More informationProf. Dr. I. Nasser Phys 630, T Aug-15 One_dimensional_Ising_Model
EXACT OE-DIMESIOAL ISIG MODEL The one-dmensonal Isng model conssts of a chan of spns, each spn nteractng only wth ts two nearest neghbors. The smple Isng problem n one dmenson can be solved drectly n several
More information3.1 Expectation of Functions of Several Random Variables. )' be a k-dimensional discrete or continuous random vector, with joint PMF p (, E X E X1 E X
Statstcs 1: Probablty Theory II 37 3 EPECTATION OF SEVERAL RANDOM VARIABLES As n Probablty Theory I, the nterest n most stuatons les not on the actual dstrbuton of a random vector, but rather on a number
More information