Sliding-Windows Algorithm for B-spline Multiplication

Size: px
Start display at page:

Download "Sliding-Windows Algorithm for B-spline Multiplication"

Transcription

1 Slng-Wnows Algorthm for B-splne Multplcaton Xanmng Chen School of Computng Unversty of Utah Rchar F. Resenfel School of Computng Unversty of Utah Elane Cohen School of Computng Unversty of Utah ABSTRACT In aton to B-splne multplcaton, that s, fnng the coeffcents of the prouct B-splne of two other B-splnes, beng a symbolc operaton tself, t s an mportant prerequste to many other symbolc computaton operatons on B-splnes. Most algorthms for B-splne multplcaton use nrect approaches such as noal nterpolaton or computng the prouct of each set of polynomal peces usng varous bases. The orgnal rect approach s complex, an whle B-splne blossomng proves another rect approach that can be straghtforwarly translate from mathematcal equaton to mplementaton, the algorthm oes not scale well wth egree or menson of the nvolve tensor prouct B-splnes. In ths paper, we present a new blossomng base algorthm to B-splne multplcaton to aress the above efcences, the slng wnows algorthm. Categores an Subect Descrptors H.4 [Informaton Systems Applcatons]: Mscellaneous; D..8 [Software Engneerng]: Metrcs complexty measures, performance measures General Terms Delph theory Keywors NURBS multplcaton, Slng-Wnow Algorthm, Blossomng. INTRODUCTION In aton to B-splne multplcaton, that s, fnng the coeffcents of the prouct B-splne of two other B-splnes, (Prouces the permsson block, copyrght nformaton an page numberng. For use wth ACM PROC ARTICLE- SP.CLS V.6SP. Supporte by ACM. Contact author. beng a symbolc operaton tself, t s an mportant prerequste to many other symbolc computaton operatons on B-splnes. There have been several theoretcally base rect algorthms an several nrect approaches that have been propose to performng ths symbolc computaton. The frst theoretcally proven constructve algorthm for rect B-splne multplcaton was presente by Morken n [9] usng the screte B-splne representaton. Elber an Cohen [0] use the prouct B-splne representaton to symbolcally query an analyze secon orer fferental surface propertes. They use Elber s multplcaton approach [8] base on samplng the prouct by samplng each multpler B-splne an nrectly formng the prouct B-splne usng noal nterpolaton. Uea [7] reporte a rect approach for B-splne multplcaton base on a blossom representaton of B-splnes, an prove ts equvalence to Morken s earler screte B-splne approach. However, E. Lee [8], who was also aware of the straghtforwar blossom-base rect approach at the tme, observe that the neffcency of the blossom-base rect approach renere t mpractcal for CAD systems; nstea, he propose a blossom-base nrect approach that converts B- splne bass representaton to a power bass representaton, performs multplcaton convolng coeffcents, an then converts back to B-splne bass representaton va the e Boor- Fx formula [5]. As the whole process, especally the thr stage of back-converson, s computatonally expensve, the author evelope a new scheme to evaluate the coeffcents of the prouct B-splne a group at a tme by computng a chan of blossoms. Pegl an Tller [0], explotng the well-known result on Bézer multplcaton [4, 4], prove another nrect approach that converts B-splnes va knot nserton to composte Bézers, performs Bézer multplcaton, an then converts back to B-splnes va knot removal. Of varous approaches for B-splne multplcaton, Uea s blossom-base approach oes not perform bass converson, an only convex affne combnaton s use n the process of constructng new prouct B-splne coeffcents. Whle etale comparson to other approaches on numercal accuracy an numercal stablty, to our best knowlege, has not yet been reporte so far, t seems that blossom base rect approach at least lacks the uncertanty on these two mportant numercal ssues when splne bass converson or extrapolaton s performe n some stage of the multplcaton algorthm. Unfortunately, the approach s not very

2 effcent whch s a maor rawback as the egree an menson ncrease. Several authors (for example [7] have observe that brute force mplementaton of many blossom-base B-splne algorthms suffers from severe neffcency f the nvolve recursve blossom evaluaton has a combnatoral characterstcs, whch s exactly the case for B-splne multplcaton. Usng some kn of assocate table to look up an reuse prevous partal result of recursve blossom evaluaton s an obvous speeup strategy, as was also note n [7]. However, partal result reuse only won t help much for B-splne multplcaton nvolvng hgh egrees an especally hgh mensons, whch s becomng more an more common n recent years. Ths current tren of usng hgh mensonal tensor prouct B- splnes s mostly ue to the earler ntroucton of robust B-splne subvson base ratonal constrant solvers [6, 3] that enable one fnally to solve many complex geometry problems. For examples, 4-mensonal B-splne multplcaton s carre out for the computaton of varous geometrc enttes nclung, bsector surfaces [], b-tangent curves an flecnoal curves [9], accessble regons for 5-axs machnng [, 3], offset surface self-ntersecton [4], an perspectve slhouette of a general swept volume [5] etc. 5- mensonal B-splne multplcaton s requre n the trackng of eformng surface/surface ntersecton [], an even 7- mensonal B-splne multplcaton has to be performe to fn the trple-pont sngularty of eformng surface/surface ntersecton []. In ths paper, we present a smple an effcent algorthm, calle slng-wnows algorthm, for blossomng-base B- splne multplcaton. Prelmnary comparson shows a ramatc speeup compare to the brute force mplementaton of blossom-base rect approach wth partal result reuse only, whch s not a surprse at all because of the reucton of combnatoral complexty ntrouce n ths paper. The more mportant task, though, s to compare the presente algorthm to other tratonal nrect approaches on both effcency an numercal stablty ssues, whch wll be scusse n a comng report. In ths paper, we focus only on llustratng the etals of the slng-wnows algorthm. The rest of the paper s organze as follow. After a bref revew on the basc prncples of multplyng two B-splnes va blossomng n Secton, Secton 3 presents a much better formulaton of the blossom representaton of prouct B-splne. Secton 4 evelops an ncremental algorthm of knot subsequence enumeraton. After a bref revew on general n-mensonal B-splne multplcaton n Secton 5, Secton 6 constructs, for the two factor B-splnes, a par of n-mensonal array of blossom values,.e. the so-calle blossom meshes. A par of wnows are constructe, n Secton 7, to nex nto a par of sub meshes of the blossom meshes that s use to compute a corresponng control pont of the prouct B-splne, an the entre control ponts are compute by slng ths wnow par over the entre blossom meshes. After a bref scusson on the slng wnow szes an ther rrelevant elements n Secton??, the paper fnally conclues n Secton 9.. B-SPLINE PRODUCT VIA BLOSSOMING Ths secton revews the basc blossomng prncples use for multplcaton of two B-splne functons as note n [8] an reporte n etals n [7]. General ntroucton on blossom can be foun n [,, 6, 3, 6]. Gven an unvarte B-splne functon G of egree, efne by, a knot vector v,, v, v,, v,, v r,, v r, v r,, v r {z } {z } {z } {z } n = 0<n + 0<n r + n r= where v, v,, v r are stnct knot values n ascenng orer ; an a seres of control ponts, whch are exactly the blossom g of G evaluate at a seres of knot sequences, ( g(v,, v, g(v,, v, v,, g(v r,, v r ( {z } {z } {z } Each knot sequence above has a length of an s calle a -knot-sequence, or smply -sequence or even abbrevate as -seq n ths paper. The -sequences appeare n ( actually are qute specal n the sense that they take consecutve knots from the knot vector (, an ther corresponng blossom values are exactly the control ponts. Ths s calle ual functonal property of the B-splne blossomng. These specal -sequence s calle, n ths paper, to be ual to ther corresponng control ponts, or smply ual -sequence. Dual -sequences have a natural lnear orer, wth two neghborng -sequences shft one poston w.r.t. the corresponng knot vector (. Now, let us conser another B-splne functon b G (wth blossom bg of egree b, efne smlarly wth knot vector, bv,, bv, bv,, bv,, bv s,, bv s, bv s,, bv s {z } {z } {z } {z } bn = b 0<bn b + 0<bn s b + bn s= b an control ponts (.e., blossom bg evaluate at ual b - sequences, (3 bg(bv,, bv, bg(bv,, bv, bv,, bg(bv s,, bv s (4 {z } {z } {z } b b b Assumng v = bv = u an v r = bv s = u t, the prouct of G an b G s another B-splne functon F of egree D = + b, wth knot vector u,, u, u,, u,, u t,, u t, u t,, u t, (5 {z } {z } {z } {z } m =D 0<m D+ 0<m t D+ m t =D where, m = n + bn = m t = n r + bn s = + b = D, an for 0 < < t, we have the followng table for computng the multplcty of the prouct knot vector. The prouct knot vector s erve smply base on contnuty conseraton. On the other han, by ual functonal property, the control ponts of prouct B-splne s agan the The nternal + multplcty s allowe for representaton of C B-splnes. The en multplcty s, snce the extra knot, f + were use, has no effect on any algorthms on B-splne [4].

3 m = n + b m = bn k + 3 m = max(n + b, bn k + f u = v for some but s absent from b G s knot vector f u = bv k for some k but s absent from G s knot vector f u = v = bv k for some an k Table : Multplcty of Prouct Knot Vector blossom f of F evaluate at ther ual (D-sequences, that s, all sequences of D consecutve knots from the prouct knot vector (5. For any constructve B-splne algorthms, no close form of f s requre, so long as we can evaluate t at these ual (D-sequences. Conserng the symmetrc an mult-affne property of the blossom f, ths can be acheve by symmetrzng va subset enumeraton; specfcally, for any ual (D-sequence k k k D (Eq.(7 of [7] an Eq.( of [8] f(k, k,, k D = X g(k, k,, k b bg(k, k,, k b {,,, } + b, (6 where {,,, } s any -subset of {,,, D, D = + b }, an {,,, b } s the complmentary b -subset. In the equaton, a sngle evaluaton of the blossom f at a ual (D-sequence of the prouct B-splne, s expane to `D evaluatons of blossom g of the frst factor B-splne at -subsequences, an blossom bg of the secon factor B-splne at b -subsequences. The -subsequence an b -subsequence are such name because they are subsets of the orgnal ual (D-sequence from the prouct knot vector. Notce that, on the other han, they are smply -sequence an b -sequence that conssts of consecutve knots from some refne knot vectors of the two factor B-splnes G an b G, respectvely. In another wors, wth respect to the orgnal knot vector of the corresponng factor B-splne, they are generally not ual sequences, an, n ths paper, are usually explctly calle factor sequences to reflect the fact that they are sub sequences of ual sequences from the prouct knot vector an are use as oman value for the evaluaton of the blossom functon of the corresponng factor B-splne. Furthermore, any blossom value of g at a factor -sequence n the summaton can be expane as some convex affne combnaton of blossom values at another two -sequences, an the process s performe recursvely untl the consere -sequence conssts of consecutve knots from G s orgnal knot vector, that s, untl the consere -sequence s a ual -sequence that s ual to some orgnal control pont of G. Exactly the same proceure s apple on the recursve evaluaton of blossom bg. What s ust escrbe n the last paragraph, plus a strategy of partal result reuse wth table look-up, s bascally Uea s algorthm for B-splne multplcaton. However, ue to ts combnatoral characterstcs, ths smple mplementaton s very neffcent as rghtly observe by Lee who also presente an alternatve nrect B-splne multplcaton algorthm [8] at the same year. Actually, t s a qute common observaton (see for example [7] that, whle varous B-splne formulaton va blossom representaton are elegant, any smple an nave mplementaton woul typcally result n algorthms of hgh complexty. For any practcal CAD system nvolvng hgh egree an especally hgh menson, such a smple mplementaton of blossom-base B-splne multplcaton approach woul most lkely be one of the obstacles to achevng nteractve performance. 3. BETTER FORMULATION OF B-SPLINE MULTIPLICATION IN BLOSSOM REP- RESENTATION In ths secton, we prove a much better formulaton of the blossom representaton of prouct B-splnes; the reformulaton s almost trval mathematcally yet t s very sgnfcant from the perspectve of computer mplementaton, an, to our best knowlege, t has never before been observe an use n the specfc context for B-splne multplcaton. 3. Prouct B-splne Represente n Subsets of Mult-sets Recall that t s not uncommon for a non-escenng knot vector to have nternal multplcty greater than, resultng contnuty less than the maxmal possble (.e. the egree mnus. Ths s especally true for B-splne multplcaton (cf. Table, where each knot n the prouct knot vector has ts multplcty rase by the egree of ether of the two factor B-splnes. Therefore, n Eq. (6, we are actually enumeratng all subsets of a mult-set. Usng a superscrpt m of a knot value u to enote the same knot value u repeate m tmes, prouct knot vector (5 can be re-wrtten as u m, u m,, u ms s, (7 an, Eq. (6 can be reformulate by enumeratng all the factor sequences as subsets of the gven ual knot sequence as a mult-set as; specfcally f(u n, u m + +,, um, un = X w g(u λ, u λ + +,, uλ bg(ub λ λ, u b + +,, ub λ + b, (8 where the summaton takes over all {λ,, λ }, an for l =,,, an w = Y λ l 0, b λ l 0 λ l + λ b l = n l f l = or, or m l otherwse X λ l =, X bλ l = b l l l λ l + b λ l λ l = n λ Y <l< m l λ l n λ (9 3

4 Notce that the ual D-sequence, as a consecutve knot sequence from the prouct knot vector (7, oes not necessarly have maxmal multplcty at ts two en ponts,.e., 0 < n m an 0 < n m 3. Reucton of Combnatoral Complexty The total -subset of a set of carnalty D s + b = D = Db wth lower bouns of [7], «D an D That s, f navely usng Eq. (6 rectly, we woul en up wth evaluatng at least max (D/, (D/ b b factor sequences for computaton of each control pont of the prouct B-splne, not mentonng that more knot sequences have to be ealt wth when each factor -sequence or -sequence b n the summaton s recursvely evaluate. On the other han, by Eq. (8, the total stnct -sequence (an the complmentary b -sequence of a ual D-sequence wll be ramatcally reuce, wth the upper boun to be constant or lnear wth respect to the prouct B-splne egree for 3 most common cases as lste n Table. Appenx. 8 also shows that the average stnct -sequences of a ual D-sequence s of the orer O(D. D-Sequence case u D b «b Pars of Factor Sequences case u n v D n mn(+, b +, +n, +D n case 3 u n v D σ w σ n ( + n( + σ n ( + σ Table : Number of Pars of Factor Sequences Shown are number of stnct pars of factor -sequence an factor b -sequence of a D-sequence n ts 3 typcal forms; where D,, b are egrees of the prouct B-splne, the frst an secon factor B-splnes, respectvely; where σ s the contnuty at the break pont v; an where 0 < n < D for case, an 0 < n < σ for case 3. For example, let us conser a egree 3 factor B-splne an a egree 8 factor B-splne multplyng nto a egree prouct B-splne. A -sequence of u 9 v, has factor 3-sequences of (u 3, u v, u v, an corresponng factor 8-sequences of (u 8, u 7 v, u 6 v, that s, a total of mn( +, b +, + n, + D n = mn(4, 9, 0, 3 = 3 stnct pars of factor sequences. Notce that, whle countng all the factor sequences, wth fxe length an b respectvely, we can gnore any one knot an countng all the possble multplctes of other knots. For case, knot multplcty of factor -sequence cannot excee any of +, + n, + D n, whle that of factor b-sequence cannot excee any of b +, +n, +D n, hence the maxmal number of stnct pars as shown n the table. For case 3, f v exsts n both factor B-splne knot vectors, then σ < an σ < b, an consequently both ( + n an ( + σ n are less than + an b + ; then, the stnct pars of case 3 s exactly ( + n( + σ n whch has a maxmum as shown n the table at n = σ. To unerstan why a D-sequence of a egree D prouct B- splne typcally cannot have 4 or more stnct knot values as shown n the table, we nee a bref revew of the followng characterstcs of NURBS symbolc computaton[5, 8, 7, 0, 3],. Prouct B-splne has a egree that s the sum of the egrees of the factor B-splnes; an ratonal B-splne fferentaton oubles the egree.. The contnuty of a resultng B-splne from any NURBS symbolc operatons, wll never ncrease an wll ecrease by for fferentaton. 3. The stnct knot set of a resultng B-splne from any NURBS symbolc operatons s the sum of the stnct knot sets of all the operans. 4. Although t can also be use for moelng, for example constructng a surface from a B-splne curve an a B-splne offset vector, NURBS symbolc computaton typcally fns ts play at the later stages of a CAD applcaton for example, of the analyss an verfcaton of the CAD moel where the egrees coul be easly n the 0s n contrast to the typcally cubc when the moelng s ntally starte, an where the menson coul be well beyon n contrast to -mensonal curves an -mensonal surfaces when the moelng s starte. Ths s exactly where effcency of NURBS computaton, especally the most funamental NURBS multplcaton, s of great concern, an ths paper takes ths as the typcal stuaton of NURBS symbolc computaton. Therefore, we have Remark. In any non-trval NURBS symbolc computaton, the multplcty of a knot s D σ, where D s the most lkely ever ncreasng egree, whle σ s the most lkely ever ecreasng contnuty. For example, accorng to [3], the square curvature κ of a ratonal quartc B-splne plane curve s another ratonal B-splne wth egree as hgh as 96, an the egree stll s 6 even after all the egree reucton strateges for NURBS symbolc computaton, as etale n that paper, are apple; on the other han, the contnuty s only. Furthermore, we have Remark. In any CAD applcaton nvolvng a seres of NURBS symbolc operators, the B-splnes typcally all have the same stnct knot vectors, except probably the ones n the very frst stages of NURBS symbolc computaton. 4

5 Now conserng the fact that a typcal CAD applcaton starts moelng wth quarc, cubc, quartc an quntc (wth cubc beng the most common, by Remark, the contnuty of erve B-splnes n the later stages, for example of the analyss an verfcaton of the moels, must be less than 5. Conser the contnuty σ at knot v,. f σ <, then, we only have the frst an secon cases n Table. Incentally, f the contnuty s all zero for all knot breaks, then the multplcaton s reuce to the smple Bézer case [4, 4], an no nee for the algorthm as presente n ths paper.. f σ =, then, we have all 3 cases n Table. 3. f σ >, then, we woul have more cases than the 3 lste n Table. However, any D-sequence s stll qute unlkely to have 4 (or more stnct knot values; otherwse u α v m w m x β woul most lkely be a sequence of sze larger than D, because par of lnearly orere lsts of factor sequences, whch are use later for the computaton of prouct B-splne control ponts. 4. Enumeraton of Subsequences of a Sngle Dual Sequence By Eq. (8, to compute a control pont of the prouct B- splne, or equvalently, the blossom at the corresponng ual D-sequence, the blossoms of the two factor B-splnes nee to be evaluate at a whole set of factor knot sequences that are subsets of the ual D-sequence of the prouct vector. Thus, subset enumeraton s an essental operaton here. We nee the followng subsequence enumeraton algorthm to generate subsequences of a gven sequence wth certan lnear orer, whch we wll scuss n etals later. The algorthm s presente for easy llustraton, wth actually better mplementaton. Algorthm. Enumerate subsequences of a sequence m + m (D σ = D + (D σ D where D σ > 0 for most stuatons by Remark. Ths assumpton of at most 3 stnct knots for any D- sequence s further ustfe by Remark whch says that, most lkely, factor B-splnes have the same stnct knot vectors. Then, a D-sequence wth 4 stnct knots as above woul yel an mmeate contracton as m + m D by case 3 of Table. Input (u λ u λ Output L (p, q Begn. L (p, q (q-seq to enumerate ts (p-subseqs lst of all (p-subseqs of (u λ u λ In concluson, Eq. (8 allows us a ramatc reucton of a typcally combnatoral number of factor sequences to an at most lnearly boune (wth respect to egrees number of factor sequences for most typcal cases. It shoul be note, though, that navely usng the earler equaton (6, t woul stll be possble to avo the unnecessary re-evaluaton of the blossom on the same knot sequence that appears to be fferent; however, specal care an extra computaton has to be taken so that all the fferent guses of the actually same knot sequence wll assocate to the same (alreay evaluate blossom value store n some type of assocate ata structure. Also, t typcally takes far less computaton tme to multply a value smply by w than lookng the value from an assocatve table an ang the value w tmes; ths s partcularly true from an asymptotc complexty pont of vew because w has some sort of combnatoral orer of ncrease wth respect to the nvolve B-splne egrees. An of course, for very hgh egrees, the unnecessary memory consumpton, whch s also combnatoral wth respect to the egree, s a concern as well. 4. INCREMENTAL ALGORITHM FOR KNOT SUBSEQUENCE ENUMERATION In ths secton, we evelop an algorthm for enumeratng subsequences,.e., factor sequences, of ual knot sequences of the prouct vector. The consecutve factor sequence enumeraton wth respect to consecutve ual sequences of the prouct vector s ncremental, an furthermore, results n a En. If (u λ u λ = ( 3. Else If p = 0, a empty strng ( to L (p, q For each k =,, λ (a L (p k, q k enumeraton of (p k- subseqs of (q k-seq (u λ u λ (b For each (p k-seq (X L (p k, q k, appen (X u k to the en of L (p, q 4. Incremental Subsequence Enumeraton for All Dual Sequences It seems that each tme Eq. (8 s use to compute a new control pont of the prouct B-splne, Algorthm ( has to be apple to enumerate all the factor sequences. However, a performance enhancement s realy avalable here by observng that the subsequence enumeraton of two neghborng ual (D-sequences shares most of ther subsequences, an ther corresponng weghts as well. Ths s true smply because the two neghborng ual (D-sequences shft only one poston wth respect to the prouct knot vector. Specfcally, 5

6 . Conser any (-subsequence (u λ of the current (D-sequence u λ (u n u m + + u m un. If λ < n, then t s stll a val (-subsequences of the next ual (D-sequence of the prouct vector, whch s (u n u m + + u m, f n < m (0 (u n u m + + u m um u +, f n = m un + Furthermore, by Eq. (9, the assocate weght s upate smply by a scale factor of n λ = n λ n λ n λ n λ n, f n = m, otherwse n + λ = n λ n λ n n + n λ + ( Note that the next ual (D-sequence of the prouct vector n Eq. (0 actually starts wth u m + + f n =, but Eq. ( hols as well n ths specal case.. New -subsequences of the next ual D-sequence (0, must be of the form (X u n +, f n < m, (X u +, f n = m. ( where X an X are compute recursvely by Algorthm ( for subsets problems wth reuce sze. Specfcally, X s any ( n -subsequences of the followng (D n -sequence (u n u m + + u m, an X s any ( -subsequences of the followng (D -sequence (u n u m + + u m un. On the other han, the assocate weght s ntalze by a rect computaton of Eq. (9 Fnally, we gve the etale algorthm below to ncrementally enumerate all subsequences par (one for each factor B-splne for each ual D-sequence of the prouct knot vector, where each enumerate subsequence s further tagge wth ts assocate weght. Fg. 4. llustrate a snapshot of output of the algorthm. Algorthm. Enumerate factor sequences of all ual sequences of a prouct B-splne Input,,D b egrees of st, n factor an prouct B-splnes u m u ms s prouct knot vector, where m = m s = D Output L SEQ Lseq Lseq LP Begn Lst of ual (D-seq of prouct B-splne Lst of factor (-seq of st factor B-splne Lst of factor ( -seq b of n factor B-splne Lst of pars of weghte ntervals of Lseq an Lseq. L SEQ { (u D }, Lseq { (u }, Lseq { (u b }. Intalze LP to contan only par of ntervals, beng the whole Lseq wth ts only sequence tagge wth `D weght, an the whole Lseq wth ts only sequence tagge wth weght, respectvely. 3. For both L SEQ an LP, copy back element an appen to the en so that to generate ntal values for current ual D-sequence, SEQ, an ts corresponng par of weghte ntervals, (, c. 4. Upate SEQ by Eq. (0 5. For each factor (-sequence n, clear ts assocate weght w to 0 f t s not a val (-subsequences of SEQ; otherwse, scale w accorng to Eq. (. 6. Apply the same proceure to factor ( b -sequences n c, clear weghts bw f necessary but o not scale. 7. By Eq. (, generate new factor (-sequences, appen to Lseq, an exten the rght en of to the en of Lseq. 8. Wth the same proceure, generate new factor ( b -sequencer, an upate Lseq an c accorngly. 9. Sle forwar left ens of ( c untl the frst tagge w ( bw 0 0. If seq u D s, go back to Step (3. En 4.3 Backwar Lexcographc Orer of Subsequence Enumeraton Subset enumeratng s a well-stue classcal topc on combnatoral algorthms; the reason to gve the etale Algorthm ( earler s manly to llustrate the specfc orer of the resultng enumeraton. From the for loop n step (3 of Algorthm (, t s obvous that subsequences wth less multplcty of the back element are enumerate frst, an ths observaton apples recursvely. Therefore, lookng backwar (.e. from rght to left at each enumerate subsequence, the enumeraton s n lexcographc orer w.r.t. the alphabet of stnct ascenng knots. We call ths backwar lexcographc orer. Furthermore, as all the ual D-sequences of the prouct vector are also terate, n Algorthm (, n ths backwar lexcographc orer, specfcally by shftng one knot 6

7 to the rght n the prouct knot vector, then, appenng the newly generate factor sequences to the current lsts factor sequences, Lseq an L cseq, wll not change ther backwar lexcographc orer. ŵ = w = k + k +D L S EQ Lseq Lŝeq Fgure : Illustratng Subsequences Enumeraton of Algorthm Shown for a n-mensonal prouct B-splne are some nformaton specfc to the horzontal recton nclung:. the current lst L SEQ of ual D-sequences of the prouct vector n the consere recton. the corresponng slces (columns, for the surface case of control ponts ue to L SEQ ; ths s to be compute later by Algorthm the two current lsts, Lseq an Lseq, of relevant sequences (w.r.t. the two factor B-splnes n the consere recton that are subsequences of ual D-sequences of the prouct vector generate so far; the fnal lsts are gong to be use n Algorthm (4 to compute the control meshes of the two factor B-splnes. Hghlghte are. the current ual D-sequence of the prouct knot vector to be consere for subsequence enumeraton,. ts subsequence enumeraton represente as two ntervals nto Lseq an Lseq respectvely, wth each knot sequence n the ntervals further assocate wth normalze weghts. Elements n the nterval par are pare together as shown by ashe lnes. All such nterval pars are use n Algorthm (5 to construct a slng wnows to compute, n orer, all the control ponts of the prouct B-splne. Notce that all other nterval pars corresponng to earler ual D-sequences are not shown n the mage. 4.4 Reverse Parng of Knot Sequences of Two Factor B-splnes We have been workng on a par of subsequence enumeraton so far. Notce that, n Algorthm (, subsequence enumeraton of the secon factor B-splne goes nepenently to that of the frst factor B-splne, an wth exactly the same proceure, except that the assocate weghts ether 0 or serve to only ncate whether or not the sequence s a genune subsequence of the D-sequence of the prouct knot vector. Ths s unerstanable that we have alreay assocate the real weght to the other subsequence of the consere par. Now a natural queston s: how are -sequences pare wth b -sequences? It turns out that the parng s really smple. Specfcally, by Algorthm (, each ual D-sequence of the prouct knot vector s parttone nto a factor -sequence an a complmentary factor b -sequence n varous ways, wth all the possble factor -sequences forms an nterval of Lseq, an all the possble factor b -sequences forms another nterval c of Lseq. Because of the backwar lexcographc orer of both Lseq an L SEQ, the frst -sequence n, beng the smallest one, has to be pare wth the last b -sequence n c, beng the largest one, an the process goes recursvely whle skppng all the nval factor sequences wth 0 assocate weghts. Fg. 4. llustrates, among others, the so-calle reverse parng. 5. MULTIPLICATION OF TWO TENSOR PRODUCT B-SPLINES OF GENERAL DI- MENSION N The algorthms we ust gave n the last secton s best unerstoo for unvarate B-splne functons. However, t shoul be note mmeately that they work perfectly well for any n-varate or n-mensonal B-splne functons, when the focus s on any sngle recton or menson. In ths more general settng, a ual sequence of the knot vector n the consere menson, correspons to a whole slce of control ponts (cf. Fg. 4.. Bascally, Algorthm. has to be apple n tmes, once for each menson, an then the resultng n lst pars have to be combne n some way for the purpose of computng the blossoms at varous n-tuples of ual knot sequences of the prouct knot vector. But frst, n ths secton, we nee to brefly revew multplcaton of two B-splnes of general menson n >, takng nto conseraton of all mensons. Conser that the two factor B-splnes G an b G be -mensonal (.e., bvarate tensor prouct B-splnes. Assume that the prouct knot vector n the n menson s v p, v p,, v p t t, (3 an the egrees of the st factor B-splne, the n factor B- splne an the prouct B-splne are, b an, respectvely 7

8 for =,. The mult-mensonal analogy to Eq. (8 s f(u n u m + +,, um, un ; P w w g bg = where + b + b, g bg = g(u λ,, u λ ; w = w = X r=,, bg(u b λ,, u b λ ; n Y bη q k Y η k <r< k<r<l λ r =, m r λ r p r η r vq k k v p k+ k+,, vp l l, vq l l vη k k,, vη l l v bη k k,, v bη l l n bη q l η l X r=k,,l (λ, λ +,, λ, λ + ( b λ, b λ +,, b λ, b λ = (n, m +,, m, n, (η k, η k+,, η l, η l + (bη k, bη k+,, bη l, bη l = (q k, p k+,, p l, q l, an the summaton takes over all η r = {λ,, λ }, {η k,, η l } Smlar equatons exst for the multplcaton of tensor prouct B-splnes of any general mensons n. At ths pont, a few comments about B-splne multplcaton, n comparson to other B-splne operatons, are n orer. A favorable property of tensor prouct B-splnes s that most algorthms for n-mensonal tensor prouct B-splnes are actually of -mensonal nature. Ths s so because a B- splne surface can be regare as a curve of curves, a B- splne volume can be regare as a curve of surfaces ( each of whch, n turn, can be regare as a curve of curves, an so forth. Puttng n another wors, the same algorthmc proceure can be apple to each menson separately. For example, to evaluate a bvarate Bézer surface (the ea s exactly the same for the B-splne case at oman pont (u, v, one apples e Caustelau algorthm to each curve efne by each row of the control ponts at the same D oman pont u, then apples e Caustelau algorthm agan at the same D oman pont v to the curve whose control ponts are the ponts ust evaluate for each row curve. Unfortunately, ths smple menson separaton strategy oes not exten to multplcaton of tensor prouct B-splnes. For example, to multply two B-splne surfaces, there s no way to multply pars of curves efne by approprate rows of control ponts, an then to multply pars of curves efne by approprate columns of the resultng new control ponts. 6. COMPUTING BLOSSOM MESHES OF TWO FACTOR B-SPLINES For the multplcaton of two n-mensonal B-splnes, Algorthm ( has to be apple n tmes, one for each menson. For each {,, n}, the algorthm generates Lseq, a lst of -sequences w.r.t. the -th menson knot vector of the the frst factor B-splne G where s G s egree at -th recton. There are totally n such lsts, an ther set prouct Q Lseq forms an n-mensonal array, each element of whch s a tuple of n factor sequences ( -seq,, n-seq. In ths secton we evaluate the blossom g of G at all such sequence tuples, therefore constructng an n-mensonal array of blossom values, calle blossom mesh of the frst factor B-splne. Of course, another blossom mesh of the secon factor B-splne s constructe as well n exactly the same way. 6. Knot Sequence as Convex Affne Combnaton of Another Sequences Frst, we nee a metho to recursvely evaluate blossom value g at certan -sequence, seq, of the consere factor B-splne G to an expresson nvolvng orgnal control ponts of G; or ually, to recursvely expan seq nto an affne combnaton of another -sequences untl all the fnal -sequences are ual -sequences that correspon control ponts of G. Let seq = XbY where knot b has a larger multplcty than t has n the orgnal knot vector of G (possbly 0, an further let a an c be the left an rght neghbor knots to seq (see etals n Algorthm 3; then b can be expresse an an convex affne combnaton of a an c, b = c b c a a + b a b a b = ( ρa + ρb, where ρ = c a c a, Consequently, the left an rght nterpolatng -sequences L an R are ax Y an X Yc. The etale algorthm, base on multplcty knot vector representaton, s shown below. Algorthm 3. Input Compute Interpolatng Knot Sequences (u λ u λ (-seq to be recursvely nterpolate u m u ms s Ol knot vector (m l = 0 for any new knot u l Output L, R, ρ -seq nterpolatng to (u λ Begn. k frst nex that λ k > m k. If λ <m L (u λ + Else u λ k k u λ u λ by rato ρ L (u su 0 s+ u 0 u λ u λ k k u λ where s < s the frst such nex that m s 0. 8

9 3. If λ <m R (u λ u λ k k u λ + Else R (u λ u λ k k u λ u 0 + u 0 s u t where t > s the frst such nex that m t 0. Lseq 0 ÓÒØÖÓÐ Å C Lseq 0 Lseq ÐÓ ÓÑ Å B B 4. ρ u k u s u t u s B 0 B 0 En Wthout gong nto any etals, one fnal comment on the comparson of the above presente algorthm wth the approach n [7], where, n our notaton, the nterpolatng rght knot c s the rght neghbor of the X nstea of X Y. Although there wll not be any sgnfcant performance fference f assocate table s use to store an retreve ntermeate result, our metho typcally oes ncur much less levels of recurson. 6. Construct Blossom Meshes In the prevous sub-secton, a factor -sequence s expane as convex affne combnaton of another two -sequences, whch are recursvely expane to an ultmate expresson of some convex affne combnaton of ual -sequences from the orgnal knot vector. On the other han, there s an ual statement of evaluatng blossoms to an expresson of some affne combnaton of orgnal control ponts. Specfcally, by affne property of blossom g, we have, g(,, XbY,, = ( ρ g(,, ax Y,, + ρ g(,, X Yc,, (4 where enotes any knot sequences n all mensons other than the consere one. Notce that, for -mensonal case, the equaton represents an nterpolaton of two blossom values nto the one to be evaluate, an the two nterpolatng blossom values have to be recursvely evaluate, ultmately from the orgnal control ponts that efne the B-splne; on the han, for a general n-mensonal case, Eq. (4 represents an nterpolaton of two slces that s, (n mensonal arrays of blossom values nto the one slce corresponng to the knot sequence XbY (cf. Fg 4., whch means that the same nterpolaton s apple to each corresponng trple of blossom values of the 3 nvolve slces. Such an nterpolaton of slces are carre teratvely for all mensons, ultmately resultng an n-mensonal array of blossom values,.e., the blossom mesh as requre. The etale algorthm s shown below. Algorthm 4. Input Computng Blossom Mesh of a Factor B-splne C Control polygon of st factor B-splne G Lseq 0 Lst of ual seq at recton {,,n} Lseq Lst of factor seq at recton from Algo. Output B n-array of g evaluate at tuples of factor sequence g(lseq 0 [], Lseq 0 [] = g(a 0, B 0 Legen: A 0 A A Lseq 0 ual knot sequence of the orgnal knot vector of the factor B splne n recton ual knot sequence of the orgnal knot vector of the factor B splne n recton factor knot sequence of the factor B splne n recton factor knot sequence of the factor B splne n recton Lseq g(lseq [3], Lseq 0 [] = g(a, B0 g(lseq [3], Lseq [6] = g(a, B Lseq Fgure : Illustratng Blossom Mesh Comp. (of st factor B-splne of Algo. 4 The vertcal slces n the orgnal control mesh are nterpolate, n some way as resulte from the recursve evaluaton of step (b n the algorthm for the horzontal menson. The resultng ntermeate mesh correspons to factor knot sequences n the horzontal menson, whle stll to the orgnal ual knot sequences n the vertcal recton. After the algorthm oes the recursve evaluaton one more tme, on the vertcal menson, the horzontal slces of the ntermeate mesh are nterpolate nto a fnal blossom mesh that correspons to factor knot sequences n both mensons. Begn. SrcMesh C. For each recton =,, n (a DstMesh n-mensonal empty mesh (b For k =,, m, where m s the total elements n Lseq. Usng Eq. (4, recursvely evaluate g(lseq [ ],, Lseq [ ], Lseq [k], Lseq 0 +[ ],, Lseq 0 n[ ] to some affne combnaton of slces (crossng recton from SrcMesh. Appen the evaluate slce to DstMesh along recton. (c SrcMesh DstMesh 9

10 3. B DstMesh Lseq ÐÓ ÓÑ Å B ÐÓ ÓÑ Å B Lŝeq En 7. SLIDING-WINDOWS ALGORITHM The varous algorthms presente so far fnally construct a par of n-mensonal arrays the so-calle blossom meshes of blossom values corresponng to factor -sequences an b-sequences of the frst an the secon factor B-splnes, respectvely. As these factor sequences are exactly those that appear n the rght han se of Eq. (8 for computaton of control ponts of the prouct B-splne, we are now able to compute each control pont of the prouct B-splne rectly by Eq. (8. Furthermore, ue to the consstent backwar lexcographc lnear orer of ual D-sequences of the prouct knot vector, of the lst of factor -sequences of the frst factor B-splne, an of the lst of factor b -sequences of the secon factor B-splnes, an further ue to the assocate weghte factor sequence ntervals corresponng to each D-sequence, we are able to compute the prouct B-splne control ponts one by one n a natural lnear orer whle corresponngly teratng lnearly on the blossom meshes. Frst we orer elements n varous n-mensonal arrays consere n ths paper, n a natural way, by numbers n that correspon to ther mult-nces (,,, n. Then, the control ponts can be compute from a par of wnows, that s constructe from n copes of -mensonal nterval pars as compute by Algorthm ( an that s use to nex nto sub-arrays of the blossom meshes, respectvely. The wnow par never sle backwar n any menson, an ue to the reverse parng property as scusse n Secton?? for -mensonal case, blossom values n the frst wnow are pare wth those n the secon wnow n a reverse lnear orer where the lnearty n the n-mensonal case s specfe as above. Detals are show n Algorthm (5 below. Algorthm 5. Slng-Wnows Algorthm Input B bb LP Output C Notaton sz J Begn For each J Blossom Mesh from Algo. (4 on st factor B-splne Blossom Mesh from Algo. (4 on n factor B-splne Lst of nterval pars from Algo. ( on -th menson n-mensonal control mesh of prouct B-splne Total pars n LP, =,, n n-mensonal mult-nex, where J sz. C[J] 0. Use n nterval pars LP [J ], one per menson {,, n}, to construct B an b B, two sub-arrays of B an b B, resp LP L SEQ Lseq 4 = LP L SEQ Lŝeq Fgure 3: Illustratng Slng-Wnows Algorthm En 3. Use the assocate weghts of LP [J ] to construct a par of n-mensonal weght arrays W an b W, each element of whch s smply the prouct of the corresponng n copes of tagge weghts, one per menson. 4. Lnear terate B an W. Lnear reverse terate b B an b W. Let the terate to be b an w, an b b an bw, respectvely (a Go to next b an w untl w 0 (b Go to next b b an bw untl bw = (c C[J] C[J] + b b b w 8. AVERAGE WINDOW SIZE AND IRREL- EVANT ELEMENTS IN SLIDING WIN- DOWS OF A C σ PRODUCT B-SPLINES In ths sub-secton, we wll erve upper bouns for both the sze of slng wnow an the rrelevant elements t contans. For a egree D C σ prouct B-splne, assumng D > σ, a ual D-sequence of the prouct knot vector has to be of the 0

11 form u D, or u α v D α, or u α v D σ w β, where α + β = σ, where, u, v, w, s the stnct knot vector. Assumng C σ at every knot break, the subsequence enumeraton of some consecutve ual D-sequences have the pattern as shown n Table 8. u σ v D σ u σ v D σ w u σ v D σ w v D σ u σ v σ u σ v σ+ u σ v σ w u σ v σ+ u σ v σ+ w u σ v σ w u σ 3 v σ+3 u σ 3 v σ+ w u σ 3 v σ+ w... u v uv w uv 3 w v v w v w v σ w σ 0 0 P (σ P = = (σ + (σ 3(σ (σ + Table 3: Factor -Sequences of Some Consecutve Dual D-Sequences The frst column shows the subset -sequences of ual D- sequence u σ v D σ, an all the rest shows the corresponng subsets -sequences of ual D-sequences followng u σ v D σ. Notce that, wthn each column, the multplcty of the frst knot u s always ecreasng, whle there s a ump between the last sequence n the prevous column an the frst sequence n the current column. Due to ths pattern, we can see that the ual sequence u σ v D σ w, shown at the thr column, has a -sequence n ts backwar lexcographcally orere subset nterval that s actually not one of ts subset. Ths rrelevant element, u σ v D σ w, s on the top of the prevous column, an t s n the nterval because all the -sequences, except the top two, come before u σ v D σ w yet are stll subsets of the consere ual sequence u σ v D σ w. Smlarly, the subset nterval of the next ual D-sequence wll have rrelevant element from ts prevous column, an rrelevant elements from the next prevous column. Ths pattern contnues untl ual D-sequence u 0 v D σ w σ, whch has rrelevant elements of,,, an σ from all ts prevous columns, from rght to left, respectvely. Therefore, the total rrelevant elements of ual sequences from s, = w σ [u σ v D σ w 0, u 0 v D σ w σ ] (5 σ X σ X( + ( + + = =. (6 Now conser the ual sequences n (v D σ w σ, v w D (7 because all ual sequences n the range have v multplcty no less than, the last factor -sequence of the frst column,.e., v s the same left en of all the corresponng subset ntervals. Hence, the total rrelevant elements of ual sequences from (v D σ w σ+ to v w D s, (++ +σ (D σ = The next range of ual sequences s. (σ σ (D σ (8 [v w D, v σ w D +σ (9 In ths seres, the ecreasng multplcty of v effectvely moves the left en of subset ntervals from v, to v w, untl v σ+ w D +σ,.e., move along the secon to last row n the table. Therefore, we have very smlar stuaton as that of the frst range we consere earler; specfcally the total rrelevant elements are, X σ X( + ( + + = =σ For the last range, we nee conser = (0 [v σ w D +σ, v σ w D σ ( each of whose ual D-sequence has no rrelevant element. Startng at v σ w D σ, the whole whole process wll repeat tself. Therefore, the average number of rrelevant elements s σ P (+ + (σ σ (D σ = D σ ( where D σ s the total ual sequences n each cycle wth the above repeatng pattern. Wth some ervaton ths s whch s approxmately σ(σ (3D σ 6(D σ σ(σ f egrees are much larger than the contnuty. The last row n Table?? shows the sze of subsets of each corresponng ual D-sequences, usng the result of case 3 from Table??. (σ +, (σ, 3(σ, 4(σ,, (σ, σ + Further usng the result of case from Table??, all the rest ual D-sequences have ther subset szes n the followng pattern, σ+, σ+3,, mn(, b +,, mn(, b +,, σ+3, σ+ Assumng the contnuty σ s far less than the total egree D, by summng the prevous expressons an vng by D σ (the total ual sequences n the cycle, the average sze of subsets can be shown to be approxmately

12 + mn(, b f mn(, /D b f mn(, /D b 0.5 an s always boune by O(D. Although the above ervaton on average subset sze an average rrelevant element number s base on the assumpton of C σ contnuty for all break ponts, the constant orer, wth respect to the prouct egree, of rrelevant element, an the lnear orer of subset sze reman true even ths assumpton s relaxe, because the repeatng cycle,.e., D σ of approxmately D. Notce that the repeatng cycle, as scusse so far, s D σ that s approxmately D. Therefore, for a C σ an egree D prouct B-splne, even f not very knot break has the maxmal an thus the same contnuty C σ, t can stll be state that average wnow sze n the slng wnows algorthm s of the orer O(D, whle the average number of rrelevant elements (.e., wth 0 assocate weghts n a slng wnow s constant wth respect to D. 9. CONCLUSION We have presente n ths paper a blossom-base rect B-splne multplcaton algorthm. The so calle slngwnows algorthm s conceptually very smple. By constructng two n-mensonal mesh of blossom values of the two factor B-splnes, the control ponts of the prouct B- splne can be compute smply by slng a par of wnows (as sub-arrays on the two blossom meshes, an the blossom values n the wnows are pare, multple, an fnally affne combne nto the control ponts. The algorthm s motvate by the effcency ssue of NURBS symbolc computaton nvolvng B-splnes of hgh egrees an especally hgh mensons, whch we beleve s a current tren n the CAD communty ue to the ncreasng eman on tasks beyon smple moelng, nclung especally nqury, analyss an verfcaton of the moele curves/surfaces. Compare to hgh egrees, hgh menson poses a much bgger challenge on any B-splne multplcaton algorthms. There are both tme effcency an memory effcency ssues relate to hgh mensons, an typcally there has to be a trae-off between these two. In the slng wnows algorthm, tme effcency s acheve at the expense of preconstructng an storng a par of n-mensonal blossom meshes. However, all the elements,.e., blossom values, n the constructe blossom meshes are gong to be use rectly for the computaton of some control ponts of the prouct B-splne; whle all those blossom values whch are use nrectly from recursve evaluaton are kept only for a certan stage n the teratve process of constructng blossom meshes (cf. Algorthm (4, specfcally ther memory usage wll be e-allocate when the teratve constructon goes to the next menson. It shoul also be note that the par of blossom meshes has the szes n the same orer as that of the control mesh of prouct B-splne. Therefore, the slng wnows algorthm oes not ncur any unnecessary space requrement, or any hgher orer space complexty other than that s ntrnsc to the nvolve B-splnes. Other than egrees an mensons as scusse n ths paper, there s actually another ssue that also affects the effcency of B-splne multplcaton. That s the number of separate polynomal peces, or the sze of the knot vector, n each menson. For example, conser a cubc 6- mensonal B-splne, wth 7 peces n each menson, then t has 0 control ponts along each recton, an there wll be 64 mllon total control ponts to be store, a farly large memory requrement. However, Ths s a relatvely margnal ssue because, unlke the ever ncreasng egree an mensons from complex geometrcal formulaton, any CAD applcaton typcally has fxe knot vector sze for all ts nvolve B-splnes. We are currently workng on etale effcency an numercal stablty comparson of the varous B-splne multplcaton algorthms especally nclung the one presente n ths paper, an s also conserng any possble harware acceleraton strateges for the actual mplementaton of the slng wnows algorthm. 0. REFERENCES [] X. Chen. Dynamc geometrc computaton by sngularty etecton an shape analyss. Ph.D. Thess Manuscrpt, 006. [] X. Chen, E. Cohen, J. Damon, an E. Cohen. Trackng ntersecton curves of two eformng surfaces. Sprnger-Verlag Lecture Notes n Computer Scence 4077 (GMP 006: 0-4, 006. [3] X. Chen, R. Resenfel, an E. Cohen. Degree reucton strateges for nurbs symbolc computaton. Proceengs of IEEE Shape Moelng an Applcatons 006: 8-93, 006. [4] E. Cohen, R. F. Resenfel, an G. Elber. Geometrc Moelng wth Splnes:An Introucton. A K Peters, eton, 00. [5] C. e Boor. A Practcal Gue to Splnes. Sprnger-Verlag, eton, 978. [6] T. DeRose an R. Golman. A tutoral ntroucton to blossomng. In H. Hagen an D. Roller, etors, Geometrc Moelng: Methos an Applcatons, pages Sprnger-Verlag, 99. [7] T. DeRose, R. N. Golman, H. Hagen, an S. Mann. Functonal composton algorthms va blossomng. ACM Trans. Graph., (:3 35, 993. [8] G. Elber. Free form surface analyss usng a hybr of symbolc an numerc computaton. Ph.D. thess, Unversty of Utah, Computer Scence Department, 99. [9] G. Elber, X. Chen, an E. Cohen. Mol accessblty va gauss map analyss. ASME Transactons, Journal of Computng & Informaton Scence n Engneerng, June 005:79-85, 005. [0] G. Elber an E. Cohen. Secon orer surface analyss usng hybr symbolc an numerc operators. ACM Transactons on Graphcs, (:60 78, Aprl 993. [] G. Elber an E. Cohen. A unfe approach to verfcaton n 5-axs freeform mllng envronments. Computer-Ae Desgn, 3(3: , 999.

13 [] G. Elber an M.-S. Km. A computatonal moel for nonratonal bsector surfaces: Curve-surface an surface-surface bsectors. GMP, pages , 000. [3] G. Elber an M.-S. Km. Geometrc constrant solver usng multvarate ratonal splne functons. ACM Symposum on Sol Moelng an Applcatons, pages 0, 00. [4] G. Farn. Curves an Surfaces for CAGD: A Practcal Gue. Acaemc Press, 5 eton, 00. [5] R. T. Farouk an V. T. Raan. Algorthms for polynomals n bernsten form. Computer Ae Geometrc Desgn, 5(: 6, 988. [6] J. Galler. Curves an Surfaces n Geometrc Moelng: Theory an Algorthms. Morgan Kaufman, eton, 998. [7] D. Knuth. The Art of Computer Programmng, Volume : Funamental Algorthms. Ason-Wesley, 3 eton, 997. [8] E. Lee. Computng a chan of blossoms, wth applcaton to proucts of splnes. Computer Ae Geometrc Desgn, (6:597 60, 994. [9] K. M. Morken. Some enttes for proucts an egree rasng of splnes. Constructve Approxmaton, 7:95 08, 99. [0] L. A. Pegl an W. Tller. Symbolc operators for nurbs. Computer-Ae Desgn, 9(5:36 368, 997. [] L. Ramshaw. Blossomng: A connect-the-ots approach to splnes. System Research Center, DEC, 987. [] L. Ramshaw. Blossoms are polar forms. Computer Ae Geometrc Desgn, 6(4:33 359, 989. [3] H.-P. Seel. An ntroucton to polar forms. IEEE Computer Graphcs an Applcatons, 3:38 46, 993. [4] J.-K. Seong, G. Elber, an M.-S. Km. Trmmng local an global self-ntersectons n offset curves/surfaces usng stance maps. Computer-Ae Desgn, 38(3:83 93, March 006. [5] J.-K. Seong, K.-J. Km, M.-S. Km, an G. Elber. Perspectve slhouette of a general swept volume. The Vsual Computer, (:09 6, 006. [6] E. C. Sherbrooke an N. M. Patrkalaks. Computaton of the solutons of nonlnear polynomal systems. Computer Ae Geometrc Desgn, 0(5: , 993. [7] K. Uea. Multplcaton as a general operaton for splnes. Curves an Surfaces n Geometrc Desgn, pages ,

Hermite Splines in Lie Groups as Products of Geodesics

Hermite Splines in Lie Groups as Products of Geodesics Hermte Splnes n Le Groups as Products of Geodescs Ethan Eade Updated May 28, 2017 1 Introducton 1.1 Goal Ths document defnes a curve n the Le group G parametrzed by tme and by structural parameters n the

More information

S1 Note. Basis functions.

S1 Note. Basis functions. S1 Note. Bass functons. Contents Types of bass functons...1 The Fourer bass...2 B-splne bass...3 Power and type I error rates wth dfferent numbers of bass functons...4 Table S1. Smulaton results of type

More information

Efficient Load-Balanced IP Routing Scheme Based on Shortest Paths in Hose Model. Eiji Oki May 28, 2009 The University of Electro-Communications

Efficient Load-Balanced IP Routing Scheme Based on Shortest Paths in Hose Model. Eiji Oki May 28, 2009 The University of Electro-Communications Effcent Loa-Balance IP Routng Scheme Base on Shortest Paths n Hose Moel E Ok May 28, 2009 The Unversty of Electro-Communcatons Ok Lab. Semnar, May 28, 2009 1 Outlne Backgroun on IP routng IP routng strategy

More information

Type-2 Fuzzy Non-uniform Rational B-spline Model with Type-2 Fuzzy Data

Type-2 Fuzzy Non-uniform Rational B-spline Model with Type-2 Fuzzy Data Malaysan Journal of Mathematcal Scences 11(S) Aprl : 35 46 (2017) Specal Issue: The 2nd Internatonal Conference and Workshop on Mathematcal Analyss (ICWOMA 2016) MALAYSIAN JOURNAL OF MATHEMATICAL SCIENCES

More information

For instance, ; the five basic number-sets are increasingly more n A B & B A A = B (1)

For instance, ; the five basic number-sets are increasingly more n A B & B A A = B (1) Secton 1.2 Subsets and the Boolean operatons on sets If every element of the set A s an element of the set B, we say that A s a subset of B, or that A s contaned n B, or that B contans A, and we wrte A

More information

Parallelism for Nested Loops with Non-uniform and Flow Dependences

Parallelism for Nested Loops with Non-uniform and Flow Dependences Parallelsm for Nested Loops wth Non-unform and Flow Dependences Sam-Jn Jeong Dept. of Informaton & Communcaton Engneerng, Cheonan Unversty, 5, Anseo-dong, Cheonan, Chungnam, 330-80, Korea. seong@cheonan.ac.kr

More information

CMPS 10 Introduction to Computer Science Lecture Notes

CMPS 10 Introduction to Computer Science Lecture Notes CPS 0 Introducton to Computer Scence Lecture Notes Chapter : Algorthm Desgn How should we present algorthms? Natural languages lke Englsh, Spansh, or French whch are rch n nterpretaton and meanng are not

More information

GSLM Operations Research II Fall 13/14

GSLM Operations Research II Fall 13/14 GSLM 58 Operatons Research II Fall /4 6. Separable Programmng Consder a general NLP mn f(x) s.t. g j (x) b j j =. m. Defnton 6.. The NLP s a separable program f ts objectve functon and all constrants are

More information

Complex Numbers. Now we also saw that if a and b were both positive then ab = a b. For a second let s forget that restriction and do the following.

Complex Numbers. Now we also saw that if a and b were both positive then ab = a b. For a second let s forget that restriction and do the following. Complex Numbers The last topc n ths secton s not really related to most of what we ve done n ths chapter, although t s somewhat related to the radcals secton as we wll see. We also won t need the materal

More information

Analysis of Continuous Beams in General

Analysis of Continuous Beams in General Analyss of Contnuous Beams n General Contnuous beams consdered here are prsmatc, rgdly connected to each beam segment and supported at varous ponts along the beam. onts are selected at ponts of support,

More information

Kent State University CS 4/ Design and Analysis of Algorithms. Dept. of Math & Computer Science LECT-16. Dynamic Programming

Kent State University CS 4/ Design and Analysis of Algorithms. Dept. of Math & Computer Science LECT-16. Dynamic Programming CS 4/560 Desgn and Analyss of Algorthms Kent State Unversty Dept. of Math & Computer Scence LECT-6 Dynamc Programmng 2 Dynamc Programmng Dynamc Programmng, lke the dvde-and-conquer method, solves problems

More information

Mathematics 256 a course in differential equations for engineering students

Mathematics 256 a course in differential equations for engineering students Mathematcs 56 a course n dfferental equatons for engneerng students Chapter 5. More effcent methods of numercal soluton Euler s method s qute neffcent. Because the error s essentally proportonal to the

More information

Sliding Windows Algorithm for B-spline Multiplication

Sliding Windows Algorithm for B-spline Multiplication Sliing Winows Algorithm for B-spline Multiplication Xianming Chen School of Computing University of Utah Richar F. Riesenfel School of Computing University of Utah Elaine Cohen School of Computing University

More information

MODULE - 9 LECTURE NOTES 1 FUZZY OPTIMIZATION

MODULE - 9 LECTURE NOTES 1 FUZZY OPTIMIZATION Water Resources Systems Plannng an Management: vance Tocs Fuzzy Otmzaton MODULE - 9 LECTURE NOTES FUZZY OPTIMIZTION INTRODUCTION The moels scusse so far are crs an recse n nature. The term crs means chotonomous.e.,

More information

CSCI 104 Sorting Algorithms. Mark Redekopp David Kempe

CSCI 104 Sorting Algorithms. Mark Redekopp David Kempe CSCI 104 Sortng Algorthms Mark Redekopp Davd Kempe Algorthm Effcency SORTING 2 Sortng If we have an unordered lst, sequental search becomes our only choce If we wll perform a lot of searches t may be benefcal

More information

Cluster Analysis of Electrical Behavior

Cluster Analysis of Electrical Behavior Journal of Computer and Communcatons, 205, 3, 88-93 Publshed Onlne May 205 n ScRes. http://www.scrp.org/ournal/cc http://dx.do.org/0.4236/cc.205.350 Cluster Analyss of Electrcal Behavor Ln Lu Ln Lu, School

More information

Performance Evaluation of Information Retrieval Systems

Performance Evaluation of Information Retrieval Systems Why System Evaluaton? Performance Evaluaton of Informaton Retreval Systems Many sldes n ths secton are adapted from Prof. Joydeep Ghosh (UT ECE) who n turn adapted them from Prof. Dk Lee (Unv. of Scence

More information

Helsinki University Of Technology, Systems Analysis Laboratory Mat Independent research projects in applied mathematics (3 cr)

Helsinki University Of Technology, Systems Analysis Laboratory Mat Independent research projects in applied mathematics (3 cr) Helsnk Unversty Of Technology, Systems Analyss Laboratory Mat-2.08 Independent research projects n appled mathematcs (3 cr) "! #$&% Antt Laukkanen 506 R ajlaukka@cc.hut.f 2 Introducton...3 2 Multattrbute

More information

6.854 Advanced Algorithms Petar Maymounkov Problem Set 11 (November 23, 2005) With: Benjamin Rossman, Oren Weimann, and Pouya Kheradpour

6.854 Advanced Algorithms Petar Maymounkov Problem Set 11 (November 23, 2005) With: Benjamin Rossman, Oren Weimann, and Pouya Kheradpour 6.854 Advanced Algorthms Petar Maymounkov Problem Set 11 (November 23, 2005) Wth: Benjamn Rossman, Oren Wemann, and Pouya Kheradpour Problem 1. We reduce vertex cover to MAX-SAT wth weghts, such that the

More information

Lecture 5: Multilayer Perceptrons

Lecture 5: Multilayer Perceptrons Lecture 5: Multlayer Perceptrons Roger Grosse 1 Introducton So far, we ve only talked about lnear models: lnear regresson and lnear bnary classfers. We noted that there are functons that can t be represented

More information

Interpolation of the Irregular Curve Network of Ship Hull Form Using Subdivision Surfaces

Interpolation of the Irregular Curve Network of Ship Hull Form Using Subdivision Surfaces 7 Interpolaton of the Irregular Curve Network of Shp Hull Form Usng Subdvson Surfaces Kyu-Yeul Lee, Doo-Yeoun Cho and Tae-Wan Km Seoul Natonal Unversty, kylee@snu.ac.kr,whendus@snu.ac.kr,taewan}@snu.ac.kr

More information

Module Management Tool in Software Development Organizations

Module Management Tool in Software Development Organizations Journal of Computer Scence (5): 8-, 7 ISSN 59-66 7 Scence Publcatons Management Tool n Software Development Organzatons Ahmad A. Al-Rababah and Mohammad A. Al-Rababah Faculty of IT, Al-Ahlyyah Amman Unversty,

More information

Course Introduction. Algorithm 8/31/2017. COSC 320 Advanced Data Structures and Algorithms. COSC 320 Advanced Data Structures and Algorithms

Course Introduction. Algorithm 8/31/2017. COSC 320 Advanced Data Structures and Algorithms. COSC 320 Advanced Data Structures and Algorithms Course Introducton Course Topcs Exams, abs, Proects A quc loo at a few algorthms 1 Advanced Data Structures and Algorthms Descrpton: We are gong to dscuss algorthm complexty analyss, algorthm desgn technques

More information

Smoothing Spline ANOVA for variable screening

Smoothing Spline ANOVA for variable screening Smoothng Splne ANOVA for varable screenng a useful tool for metamodels tranng and mult-objectve optmzaton L. Rcco, E. Rgon, A. Turco Outlne RSM Introducton Possble couplng Test case MOO MOO wth Game Theory

More information

CE 221 Data Structures and Algorithms

CE 221 Data Structures and Algorithms CE 1 ata Structures and Algorthms Chapter 4: Trees BST Text: Read Wess, 4.3 Izmr Unversty of Economcs 1 The Search Tree AT Bnary Search Trees An mportant applcaton of bnary trees s n searchng. Let us assume

More information

Assignment # 2. Farrukh Jabeen Algorithms 510 Assignment #2 Due Date: June 15, 2009.

Assignment # 2. Farrukh Jabeen Algorithms 510 Assignment #2 Due Date: June 15, 2009. Farrukh Jabeen Algorthms 51 Assgnment #2 Due Date: June 15, 29. Assgnment # 2 Chapter 3 Dscrete Fourer Transforms Implement the FFT for the DFT. Descrbed n sectons 3.1 and 3.2. Delverables: 1. Concse descrpton

More information

Programming in Fortran 90 : 2017/2018

Programming in Fortran 90 : 2017/2018 Programmng n Fortran 90 : 2017/2018 Programmng n Fortran 90 : 2017/2018 Exercse 1 : Evaluaton of functon dependng on nput Wrte a program who evaluate the functon f (x,y) for any two user specfed values

More information

Reading. 14. Subdivision curves. Recommended:

Reading. 14. Subdivision curves. Recommended: eadng ecommended: Stollntz, Deose, and Salesn. Wavelets for Computer Graphcs: heory and Applcatons, 996, secton 6.-6., A.5. 4. Subdvson curves Note: there s an error n Stollntz, et al., secton A.5. Equaton

More information

Chapter 6 Programmng the fnte element method Inow turn to the man subject of ths book: The mplementaton of the fnte element algorthm n computer programs. In order to make my dscusson as straghtforward

More information

Lecture #15 Lecture Notes

Lecture #15 Lecture Notes Lecture #15 Lecture Notes The ocean water column s very much a 3-D spatal entt and we need to represent that structure n an economcal way to deal wth t n calculatons. We wll dscuss one way to do so, emprcal

More information

A Fast Content-Based Multimedia Retrieval Technique Using Compressed Data

A Fast Content-Based Multimedia Retrieval Technique Using Compressed Data A Fast Content-Based Multmeda Retreval Technque Usng Compressed Data Borko Furht and Pornvt Saksobhavvat NSF Multmeda Laboratory Florda Atlantc Unversty, Boca Raton, Florda 3343 ABSTRACT In ths paper,

More information

3D vector computer graphics

3D vector computer graphics 3D vector computer graphcs Paolo Varagnolo: freelance engneer Padova Aprl 2016 Prvate Practce ----------------------------------- 1. Introducton Vector 3D model representaton n computer graphcs requres

More information

Compiler Design. Spring Register Allocation. Sample Exercises and Solutions. Prof. Pedro C. Diniz

Compiler Design. Spring Register Allocation. Sample Exercises and Solutions. Prof. Pedro C. Diniz Compler Desgn Sprng 2014 Regster Allocaton Sample Exercses and Solutons Prof. Pedro C. Dnz USC / Informaton Scences Insttute 4676 Admralty Way, Sute 1001 Marna del Rey, Calforna 90292 pedro@s.edu Regster

More information

Review of approximation techniques

Review of approximation techniques CHAPTER 2 Revew of appromaton technques 2. Introducton Optmzaton problems n engneerng desgn are characterzed by the followng assocated features: the objectve functon and constrants are mplct functons evaluated

More information

An Optimal Algorithm for Prufer Codes *

An Optimal Algorithm for Prufer Codes * J. Software Engneerng & Applcatons, 2009, 2: 111-115 do:10.4236/jsea.2009.22016 Publshed Onlne July 2009 (www.scrp.org/journal/jsea) An Optmal Algorthm for Prufer Codes * Xaodong Wang 1, 2, Le Wang 3,

More information

Feature Reduction and Selection

Feature Reduction and Selection Feature Reducton and Selecton Dr. Shuang LIANG School of Software Engneerng TongJ Unversty Fall, 2012 Today s Topcs Introducton Problems of Dmensonalty Feature Reducton Statstc methods Prncpal Components

More information

CSE 326: Data Structures Quicksort Comparison Sorting Bound

CSE 326: Data Structures Quicksort Comparison Sorting Bound CSE 326: Data Structures Qucksort Comparson Sortng Bound Steve Setz Wnter 2009 Qucksort Qucksort uses a dvde and conquer strategy, but does not requre the O(N) extra space that MergeSort does. Here s the

More information

Problem Set 3 Solutions

Problem Set 3 Solutions Introducton to Algorthms October 4, 2002 Massachusetts Insttute of Technology 6046J/18410J Professors Erk Demane and Shaf Goldwasser Handout 14 Problem Set 3 Solutons (Exercses were not to be turned n,

More information

CS1100 Introduction to Programming

CS1100 Introduction to Programming Factoral (n) Recursve Program fact(n) = n*fact(n-) CS00 Introducton to Programmng Recurson and Sortng Madhu Mutyam Department of Computer Scence and Engneerng Indan Insttute of Technology Madras nt fact

More information

An Accurate Evaluation of Integrals in Convex and Non convex Polygonal Domain by Twelve Node Quadrilateral Finite Element Method

An Accurate Evaluation of Integrals in Convex and Non convex Polygonal Domain by Twelve Node Quadrilateral Finite Element Method Internatonal Journal of Computatonal and Appled Mathematcs. ISSN 89-4966 Volume, Number (07), pp. 33-4 Research Inda Publcatons http://www.rpublcaton.com An Accurate Evaluaton of Integrals n Convex and

More information

Support Vector Machines

Support Vector Machines /9/207 MIST.6060 Busness Intellgence and Data Mnng What are Support Vector Machnes? Support Vector Machnes Support Vector Machnes (SVMs) are supervsed learnng technques that analyze data and recognze patterns.

More information

Solving two-person zero-sum game by Matlab

Solving two-person zero-sum game by Matlab Appled Mechancs and Materals Onlne: 2011-02-02 ISSN: 1662-7482, Vols. 50-51, pp 262-265 do:10.4028/www.scentfc.net/amm.50-51.262 2011 Trans Tech Publcatons, Swtzerland Solvng two-person zero-sum game by

More information

Sequential search. Building Java Programs Chapter 13. Sequential search. Sequential search

Sequential search. Building Java Programs Chapter 13. Sequential search. Sequential search Sequental search Buldng Java Programs Chapter 13 Searchng and Sortng sequental search: Locates a target value n an array/lst by examnng each element from start to fnsh. How many elements wll t need to

More information

Intra-Parametric Analysis of a Fuzzy MOLP

Intra-Parametric Analysis of a Fuzzy MOLP Intra-Parametrc Analyss of a Fuzzy MOLP a MIAO-LING WANG a Department of Industral Engneerng and Management a Mnghsn Insttute of Technology and Hsnchu Tawan, ROC b HSIAO-FAN WANG b Insttute of Industral

More information

Wavefront Reconstructor

Wavefront Reconstructor A Dstrbuted Smplex B-Splne Based Wavefront Reconstructor Coen de Vsser and Mchel Verhaegen 14-12-201212 2012 Delft Unversty of Technology Contents Introducton Wavefront reconstructon usng Smplex B-Splnes

More information

A Binarization Algorithm specialized on Document Images and Photos

A Binarization Algorithm specialized on Document Images and Photos A Bnarzaton Algorthm specalzed on Document mages and Photos Ergna Kavalleratou Dept. of nformaton and Communcaton Systems Engneerng Unversty of the Aegean kavalleratou@aegean.gr Abstract n ths paper, a

More information

Insertion Sort. Divide and Conquer Sorting. Divide and Conquer. Mergesort. Mergesort Example. Auxiliary Array

Insertion Sort. Divide and Conquer Sorting. Divide and Conquer. Mergesort. Mergesort Example. Auxiliary Array Inserton Sort Dvde and Conquer Sortng CSE 6 Data Structures Lecture 18 What f frst k elements of array are already sorted? 4, 7, 1, 5, 1, 16 We can shft the tal of the sorted elements lst down and then

More information

Exercises (Part 4) Introduction to R UCLA/CCPR. John Fox, February 2005

Exercises (Part 4) Introduction to R UCLA/CCPR. John Fox, February 2005 Exercses (Part 4) Introducton to R UCLA/CCPR John Fox, February 2005 1. A challengng problem: Iterated weghted least squares (IWLS) s a standard method of fttng generalzed lnear models to data. As descrbed

More information

Wishing you all a Total Quality New Year!

Wishing you all a Total Quality New Year! Total Qualty Management and Sx Sgma Post Graduate Program 214-15 Sesson 4 Vnay Kumar Kalakband Assstant Professor Operatons & Systems Area 1 Wshng you all a Total Qualty New Year! Hope you acheve Sx sgma

More information

y and the total sum of

y and the total sum of Lnear regresson Testng for non-lnearty In analytcal chemstry, lnear regresson s commonly used n the constructon of calbraton functons requred for analytcal technques such as gas chromatography, atomc absorpton

More information

Hierarchical clustering for gene expression data analysis

Hierarchical clustering for gene expression data analysis Herarchcal clusterng for gene expresson data analyss Gorgo Valentn e-mal: valentn@ds.unm.t Clusterng of Mcroarray Data. Clusterng of gene expresson profles (rows) => dscovery of co-regulated and functonally

More information

Private Information Retrieval (PIR)

Private Information Retrieval (PIR) 2 Levente Buttyán Problem formulaton Alce wants to obtan nformaton from a database, but she does not want the database to learn whch nformaton she wanted e.g., Alce s an nvestor queryng a stock-market

More information

Sorting Review. Sorting. Comparison Sorting. CSE 680 Prof. Roger Crawfis. Assumptions

Sorting Review. Sorting. Comparison Sorting. CSE 680 Prof. Roger Crawfis. Assumptions Sortng Revew Introducton to Algorthms Qucksort CSE 680 Prof. Roger Crawfs Inserton Sort T(n) = Θ(n 2 ) In-place Merge Sort T(n) = Θ(n lg(n)) Not n-place Selecton Sort (from homework) T(n) = Θ(n 2 ) In-place

More information

A Geometric Approach for Multi-Degree Spline

A Geometric Approach for Multi-Degree Spline L X, Huang ZJ, Lu Z. A geometrc approach for mult-degree splne. JOURNAL OF COMPUTER SCIENCE AND TECHNOLOGY 27(4): 84 850 July 202. DOI 0.007/s390-02-268-2 A Geometrc Approach for Mult-Degree Splne Xn L

More information

A Newton-Type Method for Constrained Least-Squares Data-Fitting with Easy-to-Control Rational Curves

A Newton-Type Method for Constrained Least-Squares Data-Fitting with Easy-to-Control Rational Curves A Newton-Type Method for Constraned Least-Squares Data-Fttng wth Easy-to-Control Ratonal Curves G. Cascola a, L. Roman b, a Department of Mathematcs, Unversty of Bologna, P.zza d Porta San Donato 5, 4017

More information

Today s Outline. Sorting: The Big Picture. Why Sort? Selection Sort: Idea. Insertion Sort: Idea. Sorting Chapter 7 in Weiss.

Today s Outline. Sorting: The Big Picture. Why Sort? Selection Sort: Idea. Insertion Sort: Idea. Sorting Chapter 7 in Weiss. Today s Outlne Sortng Chapter 7 n Wess CSE 26 Data Structures Ruth Anderson Announcements Wrtten Homework #6 due Frday 2/26 at the begnnng of lecture Proect Code due Mon March 1 by 11pm Today s Topcs:

More information

Modelling of curves and surfaces in polar. and Cartesian coordinates. G.Casciola and S.Morigi. Department of Mathematics, University of Bologna, Italy

Modelling of curves and surfaces in polar. and Cartesian coordinates. G.Casciola and S.Morigi. Department of Mathematics, University of Bologna, Italy Modellng of curves and surfaces n polar and Cartesan coordnates G.Cascola and S.Morg Department of Mathematcs, Unversty of Bologna, Italy Abstract A new class of splne curves n polar coordnates has been

More information

Harvard University CS 101 Fall 2005, Shimon Schocken. Assembler. Elements of Computing Systems 1 Assembler (Ch. 6)

Harvard University CS 101 Fall 2005, Shimon Schocken. Assembler. Elements of Computing Systems 1 Assembler (Ch. 6) Harvard Unversty CS 101 Fall 2005, Shmon Schocken Assembler Elements of Computng Systems 1 Assembler (Ch. 6) Why care about assemblers? Because Assemblers employ some nfty trcks Assemblers are the frst

More information

2x x l. Module 3: Element Properties Lecture 4: Lagrange and Serendipity Elements

2x x l. Module 3: Element Properties Lecture 4: Lagrange and Serendipity Elements Module 3: Element Propertes Lecture : Lagrange and Serendpty Elements 5 In last lecture note, the nterpolaton functons are derved on the bass of assumed polynomal from Pascal s trangle for the fled varable.

More information

Load Balancing for Hex-Cell Interconnection Network

Load Balancing for Hex-Cell Interconnection Network Int. J. Communcatons, Network and System Scences,,, - Publshed Onlne Aprl n ScRes. http://www.scrp.org/journal/jcns http://dx.do.org/./jcns.. Load Balancng for Hex-Cell Interconnecton Network Saher Manaseer,

More information

Learning Depth from Single Still Images: Approximate Inference 1

Learning Depth from Single Still Images: Approximate Inference 1 Learnng Depth from Sngle Stll Images: Approxmate Inference 1 MS&E 211 course project Ashutosh Saxena, Ilya O. Ryzhov Channng Wong, Janln Wang June 7th, 2006 1 In ths report, Saxena, et. al. [1] somethng

More information

Some Tutorial about the Project. Computer Graphics

Some Tutorial about the Project. Computer Graphics Some Tutoral about the Project Lecture 6 Rastersaton, Antalasng, Texture Mappng, I have already covered all the topcs needed to fnsh the 1 st practcal Today, I wll brefly explan how to start workng on

More information

5 The Primal-Dual Method

5 The Primal-Dual Method 5 The Prmal-Dual Method Orgnally desgned as a method for solvng lnear programs, where t reduces weghted optmzaton problems to smpler combnatoral ones, the prmal-dual method (PDM) has receved much attenton

More information

Learning the Kernel Parameters in Kernel Minimum Distance Classifier

Learning the Kernel Parameters in Kernel Minimum Distance Classifier Learnng the Kernel Parameters n Kernel Mnmum Dstance Classfer Daoqang Zhang 1,, Songcan Chen and Zh-Hua Zhou 1* 1 Natonal Laboratory for Novel Software Technology Nanjng Unversty, Nanjng 193, Chna Department

More information

R s s f. m y s. SPH3UW Unit 7.3 Spherical Concave Mirrors Page 1 of 12. Notes

R s s f. m y s. SPH3UW Unit 7.3 Spherical Concave Mirrors Page 1 of 12. Notes SPH3UW Unt 7.3 Sphercal Concave Mrrors Page 1 of 1 Notes Physcs Tool box Concave Mrror If the reflectng surface takes place on the nner surface of the sphercal shape so that the centre of the mrror bulges

More information

Virtual Memory. Background. No. 10. Virtual Memory: concept. Logical Memory Space (review) Demand Paging(1) Virtual Memory

Virtual Memory. Background. No. 10. Virtual Memory: concept. Logical Memory Space (review) Demand Paging(1) Virtual Memory Background EECS. Operatng System Fundamentals No. Vrtual Memory Prof. Hu Jang Department of Electrcal Engneerng and Computer Scence, York Unversty Memory-management methods normally requres the entre process

More information

Cubic Spline Interpolation for. Petroleum Engineering Data

Cubic Spline Interpolation for. Petroleum Engineering Data Appled Mathematcal Scences, Vol. 8, 014, no. 10, 5083-5098 HIKARI Ltd, www.m-hkar.com http://dx.do.org/10.1988/ams.014.4484 Cubc Splne Interpolaton for Petroleum Engneerng Data * Samsul Arffn Abdul Karm

More information

Parallel matrix-vector multiplication

Parallel matrix-vector multiplication Appendx A Parallel matrx-vector multplcaton The reduced transton matrx of the three-dmensonal cage model for gel electrophoress, descrbed n secton 3.2, becomes excessvely large for polymer lengths more

More information

THE FAULT LOCATION ALGORITHM BASED ON TWO CIRCUIT FUNCTIONS

THE FAULT LOCATION ALGORITHM BASED ON TWO CIRCUIT FUNCTIONS U THE FAULT LOCATION ALGORITHM BASED ON TWO CIRCUIT FUNCTIONS Z. Czaa Char of Electronc Measurement, Faculty of Electroncs, Telecommuncatons an Informatcs, Techncal Unversty of Gañsk, Polan The paper presents

More information

Simulation: Solving Dynamic Models ABE 5646 Week 11 Chapter 2, Spring 2010

Simulation: Solving Dynamic Models ABE 5646 Week 11 Chapter 2, Spring 2010 Smulaton: Solvng Dynamc Models ABE 5646 Week Chapter 2, Sprng 200 Week Descrpton Readng Materal Mar 5- Mar 9 Evaluatng [Crop] Models Comparng a model wth data - Graphcal, errors - Measures of agreement

More information

Subspace clustering. Clustering. Fundamental to all clustering techniques is the choice of distance measure between data points;

Subspace clustering. Clustering. Fundamental to all clustering techniques is the choice of distance measure between data points; Subspace clusterng Clusterng Fundamental to all clusterng technques s the choce of dstance measure between data ponts; D q ( ) ( ) 2 x x = x x, j k = 1 k jk Squared Eucldean dstance Assumpton: All features

More information

Non-Split Restrained Dominating Set of an Interval Graph Using an Algorithm

Non-Split Restrained Dominating Set of an Interval Graph Using an Algorithm Internatonal Journal of Advancements n Research & Technology, Volume, Issue, July- ISS - on-splt Restraned Domnatng Set of an Interval Graph Usng an Algorthm ABSTRACT Dr.A.Sudhakaraah *, E. Gnana Deepka,

More information

CSE 326: Data Structures Quicksort Comparison Sorting Bound

CSE 326: Data Structures Quicksort Comparison Sorting Bound CSE 326: Data Structures Qucksort Comparson Sortng Bound Bran Curless Sprng 2008 Announcements (5/14/08) Homework due at begnnng of class on Frday. Secton tomorrow: Graded homeworks returned More dscusson

More information

Data Representation in Digital Design, a Single Conversion Equation and a Formal Languages Approach

Data Representation in Digital Design, a Single Conversion Equation and a Formal Languages Approach Data Representaton n Dgtal Desgn, a Sngle Converson Equaton and a Formal Languages Approach Hassan Farhat Unversty of Nebraska at Omaha Abstract- In the study of data representaton n dgtal desgn and computer

More information

Assembler. Shimon Schocken. Spring Elements of Computing Systems 1 Assembler (Ch. 6) Compiler. abstract interface.

Assembler. Shimon Schocken. Spring Elements of Computing Systems 1 Assembler (Ch. 6) Compiler. abstract interface. IDC Herzlya Shmon Schocken Assembler Shmon Schocken Sprng 2005 Elements of Computng Systems 1 Assembler (Ch. 6) Where we are at: Human Thought Abstract desgn Chapters 9, 12 abstract nterface H.L. Language

More information

CS 534: Computer Vision Model Fitting

CS 534: Computer Vision Model Fitting CS 534: Computer Vson Model Fttng Sprng 004 Ahmed Elgammal Dept of Computer Scence CS 534 Model Fttng - 1 Outlnes Model fttng s mportant Least-squares fttng Maxmum lkelhood estmaton MAP estmaton Robust

More information

The Greedy Method. Outline and Reading. Change Money Problem. Greedy Algorithms. Applications of the Greedy Strategy. The Greedy Method Technique

The Greedy Method. Outline and Reading. Change Money Problem. Greedy Algorithms. Applications of the Greedy Strategy. The Greedy Method Technique //00 :0 AM Outlne and Readng The Greedy Method The Greedy Method Technque (secton.) Fractonal Knapsack Problem (secton..) Task Schedulng (secton..) Mnmum Spannng Trees (secton.) Change Money Problem Greedy

More information

A Fast Visual Tracking Algorithm Based on Circle Pixels Matching

A Fast Visual Tracking Algorithm Based on Circle Pixels Matching A Fast Vsual Trackng Algorthm Based on Crcle Pxels Matchng Zhqang Hou hou_zhq@sohu.com Chongzhao Han czhan@mal.xjtu.edu.cn Ln Zheng Abstract: A fast vsual trackng algorthm based on crcle pxels matchng

More information

The Shortest Path of Touring Lines given in the Plane

The Shortest Path of Touring Lines given in the Plane Send Orders for Reprnts to reprnts@benthamscence.ae 262 The Open Cybernetcs & Systemcs Journal, 2015, 9, 262-267 The Shortest Path of Tourng Lnes gven n the Plane Open Access Ljuan Wang 1,2, Dandan He

More information

Line Clipping by Convex and Nonconvex Polyhedra in E 3

Line Clipping by Convex and Nonconvex Polyhedra in E 3 Lne Clppng by Convex and Nonconvex Polyhedra n E 3 Václav Skala 1 Department of Informatcs and Computer Scence Unversty of West Bohema Unverztní 22, Box 314, 306 14 Plzeò Czech Republc e-mal: skala@kv.zcu.cz

More information

NUMERICAL SOLVING OPTIMAL CONTROL PROBLEMS BY THE METHOD OF VARIATIONS

NUMERICAL SOLVING OPTIMAL CONTROL PROBLEMS BY THE METHOD OF VARIATIONS ARPN Journal of Engneerng and Appled Scences 006-017 Asan Research Publshng Network (ARPN). All rghts reserved. NUMERICAL SOLVING OPTIMAL CONTROL PROBLEMS BY THE METHOD OF VARIATIONS Igor Grgoryev, Svetlana

More information

Sorting: The Big Picture. The steps of QuickSort. QuickSort Example. QuickSort Example. QuickSort Example. Recursive Quicksort

Sorting: The Big Picture. The steps of QuickSort. QuickSort Example. QuickSort Example. QuickSort Example. Recursive Quicksort Sortng: The Bg Pcture Gven n comparable elements n an array, sort them n an ncreasng (or decreasng) order. Smple algorthms: O(n ) Inserton sort Selecton sort Bubble sort Shell sort Fancer algorthms: O(n

More information

Related-Mode Attacks on CTR Encryption Mode

Related-Mode Attacks on CTR Encryption Mode Internatonal Journal of Network Securty, Vol.4, No.3, PP.282 287, May 2007 282 Related-Mode Attacks on CTR Encrypton Mode Dayn Wang, Dongda Ln, and Wenlng Wu (Correspondng author: Dayn Wang) Key Laboratory

More information

Lecture 3: Computer Arithmetic: Multiplication and Division

Lecture 3: Computer Arithmetic: Multiplication and Division 8-447 Lecture 3: Computer Arthmetc: Multplcaton and Dvson James C. Hoe Dept of ECE, CMU January 26, 29 S 9 L3- Announcements: Handout survey due Lab partner?? Read P&H Ch 3 Read IEEE 754-985 Handouts:

More information

Efficient Distributed File System (EDFS)

Efficient Distributed File System (EDFS) Effcent Dstrbuted Fle System (EDFS) (Sem-Centralzed) Debessay(Debsh) Fesehaye, Rahul Malk & Klara Naherstedt Unversty of Illnos-Urbana Champagn Contents Problem Statement, Related Work, EDFS Desgn Rate

More information

CHAPTER 2 DECOMPOSITION OF GRAPHS

CHAPTER 2 DECOMPOSITION OF GRAPHS CHAPTER DECOMPOSITION OF GRAPHS. INTRODUCTION A graph H s called a Supersubdvson of a graph G f H s obtaned from G by replacng every edge uv of G by a bpartte graph,m (m may vary for each edge by dentfyng

More information

Research Article Quasi-Bézier Curves with Shape Parameters

Research Article Quasi-Bézier Curves with Shape Parameters Hndaw Publshng Corporaton Appled Mathematcs Volume 3, Artcle ID 739, 9 pages http://dxdoorg/55/3/739 Research Artcle Quas-Bézer Curves wth Shape Parameters Jun Chen Faculty of Scence, Nngbo Unversty of

More information

Agenda & Reading. Simple If. Decision-Making Statements. COMPSCI 280 S1C Applications Programming. Programming Fundamentals

Agenda & Reading. Simple If. Decision-Making Statements. COMPSCI 280 S1C Applications Programming. Programming Fundamentals Agenda & Readng COMPSCI 8 SC Applcatons Programmng Programmng Fundamentals Control Flow Agenda: Decsonmakng statements: Smple If, Ifelse, nested felse, Select Case s Whle, DoWhle/Untl, For, For Each, Nested

More information

A new paradigm of fuzzy control point in space curve

A new paradigm of fuzzy control point in space curve MATEMATIKA, 2016, Volume 32, Number 2, 153 159 c Penerbt UTM Press All rghts reserved A new paradgm of fuzzy control pont n space curve 1 Abd Fatah Wahab, 2 Mohd Sallehuddn Husan and 3 Mohammad Izat Emr

More information

12/2/2009. Announcements. Parametric / Non-parametric. Case-Based Reasoning. Nearest-Neighbor on Images. Nearest-Neighbor Classification

12/2/2009. Announcements. Parametric / Non-parametric. Case-Based Reasoning. Nearest-Neighbor on Images. Nearest-Neighbor Classification Introducton to Artfcal Intellgence V22.0472-001 Fall 2009 Lecture 24: Nearest-Neghbors & Support Vector Machnes Rob Fergus Dept of Computer Scence, Courant Insttute, NYU Sldes from Danel Yeung, John DeNero

More information

Some material adapted from Mohamed Younis, UMBC CMSC 611 Spr 2003 course slides Some material adapted from Hennessy & Patterson / 2003 Elsevier

Some material adapted from Mohamed Younis, UMBC CMSC 611 Spr 2003 course slides Some material adapted from Hennessy & Patterson / 2003 Elsevier Some materal adapted from Mohamed Youns, UMBC CMSC 611 Spr 2003 course sldes Some materal adapted from Hennessy & Patterson / 2003 Elsever Scence Performance = 1 Executon tme Speedup = Performance (B)

More information

Problem Definitions and Evaluation Criteria for Computational Expensive Optimization

Problem Definitions and Evaluation Criteria for Computational Expensive Optimization Problem efntons and Evaluaton Crtera for Computatonal Expensve Optmzaton B. Lu 1, Q. Chen and Q. Zhang 3, J. J. Lang 4, P. N. Suganthan, B. Y. Qu 6 1 epartment of Computng, Glyndwr Unversty, UK Faclty

More information

TN348: Openlab Module - Colocalization

TN348: Openlab Module - Colocalization TN348: Openlab Module - Colocalzaton Topc The Colocalzaton module provdes the faclty to vsualze and quantfy colocalzaton between pars of mages. The Colocalzaton wndow contans a prevew of the two mages

More information

A Five-Point Subdivision Scheme with Two Parameters and a Four-Point Shape-Preserving Scheme

A Five-Point Subdivision Scheme with Two Parameters and a Four-Point Shape-Preserving Scheme Mathematcal and Computatonal Applcatons Artcle A Fve-Pont Subdvson Scheme wth Two Parameters and a Four-Pont Shape-Preservng Scheme Jeqng Tan,2, Bo Wang, * and Jun Sh School of Mathematcs, Hefe Unversty

More information

SLAM Summer School 2006 Practical 2: SLAM using Monocular Vision

SLAM Summer School 2006 Practical 2: SLAM using Monocular Vision SLAM Summer School 2006 Practcal 2: SLAM usng Monocular Vson Javer Cvera, Unversty of Zaragoza Andrew J. Davson, Imperal College London J.M.M Montel, Unversty of Zaragoza. josemar@unzar.es, jcvera@unzar.es,

More information

On Some Entertaining Applications of the Concept of Set in Computer Science Course

On Some Entertaining Applications of the Concept of Set in Computer Science Course On Some Entertanng Applcatons of the Concept of Set n Computer Scence Course Krasmr Yordzhev *, Hrstna Kostadnova ** * Assocate Professor Krasmr Yordzhev, Ph.D., Faculty of Mathematcs and Natural Scences,

More information

Assembler. Building a Modern Computer From First Principles.

Assembler. Building a Modern Computer From First Principles. Assembler Buldng a Modern Computer From Frst Prncples www.nand2tetrs.org Elements of Computng Systems, Nsan & Schocken, MIT Press, www.nand2tetrs.org, Chapter 6: Assembler slde Where we are at: Human Thought

More information

Computer Graphics. - Spline and Subdivision Surfaces - Hendrik Lensch. Computer Graphics WS07/08 Spline & Subdivision Surfaces

Computer Graphics. - Spline and Subdivision Surfaces - Hendrik Lensch. Computer Graphics WS07/08 Spline & Subdivision Surfaces Computer Graphcs - Splne and Subdvson Surfaces - Hendrk Lensch Overvew Last Tme Image-Based Renderng Today Parametrc Curves Lagrange Interpolaton Hermte Splnes Bezer Splnes DeCasteljau Algorthm Parameterzaton

More information

A mathematical programming approach to the analysis, design and scheduling of offshore oilfields

A mathematical programming approach to the analysis, design and scheduling of offshore oilfields 17 th European Symposum on Computer Aded Process Engneerng ESCAPE17 V. Plesu and P.S. Agach (Edtors) 2007 Elsever B.V. All rghts reserved. 1 A mathematcal programmng approach to the analyss, desgn and

More information

Shape Control of the Cubic Trigonometric B-Spline Polynomial Curve with A Shape Parameter

Shape Control of the Cubic Trigonometric B-Spline Polynomial Curve with A Shape Parameter Internatonal Journal of Scences & Appled esearch www.jsar.n Shape Control of the Cubc Trgonometrc B-Splne Polynomal Curve wth A Shape Parameter Urvash Mshra* Department of Mathematcs, Mata Gujr Mahla Mahavdyalaya,

More information