Scientific Computing Tool

Size: px
Start display at page:

Download "Scientific Computing Tool"

Transcription

1 Scentfc Comptng Tool akmar Poondla Department of Mathematcs and Compter Scence Soth Dakota School of Mnes and Technolog Emal: Hanng L Department of Mathematcs and Compter Scence Soth Dakota School of Mnes and Technolog Emal: hl9834@hotmal.com Jeff.S.McGogh Department of Mathematcs and Compter Scence Soth Dakota School of Mnes and Technolog Emal: eff.mcgogh@sdsmt.ed BSTRCT The sccess of hgh performance comptng n modelng scentfc and engneerng applcatons motvates the development of ambtos applcatons. n effcent solton for solvng scentfc problems on a clster has been and s stll of hgh nterest. In ths paper we present the Scentfc Comptng Tool. The Scentfc Comptng Tool provdes a Graphcal User Interface GUI n whch the ser can enter geometrc shapes n one two or three dmensons and nformaton abot the shapes. The tool wll then take the necessar parameters for solvng the lnear ellptc partal dfferental eqatons on a rectlnear doman. The program wll generate a seqental code or parallel code as reqested b the ser for a fnte dfference appromaton defned on the doman sng the teratve methods Jacob Gass Sedel Sccessve Over Relaaton methods. The seral code s mplemented n C. The parallel code s mplemented n C sng POOM lbrar. Ths tool allows the ser to comple rn and generate a graph n the GUI sng Gnplot. Kewords: Scentfc Comptng Doman Decomposton Ellptc PDE POOM Jacob Gass and SOR Graphcal User Interface.

2 Introdcton The compter scence department at SD School of Mnes and Technolog started a Beowlf Clster Proect Clster Comptng and Vsalzaton n sprng 00. Ths proect ams at sng off-the-shelf components to bld a parallel compter to perform the nmeros comple operatons reqred for vsalzaton of large data sets. We decded to come p wth a tool that smplfes the code development n Scentfc Comptng. The prpose of Scentfc Comptng Tool s to create a Graphcal User Interface n whch o can enter n geometrc shapes n one two or three dmensons. The tool then wll take the necessar parameters for solvng a lnear ellptc partal dfferental eqaton on a rectlnear doman and generate code for a fnte dfference appromaton defned on the doman sng the statonar teratve methods Jacob Gass Sedel and Sccessve Over Relaaton methods. Snce doman decomposton methods are based on parttonng of the doman of the phscal problem and each sb doman can be handled ndependentl ths tool s ver effectve on a clster. Ths tool streamlnes the development of scentfc codes. Ths ncldes the process of modelng dscretzaton solvng and parallelzaton of problems from varos felds of applcatons[5]. The varos felds of Scentfc Comptng nclde weather predcton Sesmc data processng astrophscs Nclear Engneerng and Image processng. Ths tool s readl accessble to scentfc applcaton developers whose backgrond does not nclde compter scence. Ths tool leverages estng sophstcated codes lke POOM to acheve ths. The Parallel Obect Orented Methods and pplcatons POOM Toolkt s an open-sorce software for wrtng hgh performance Scentfc Comptng Programs on parallel compters whch was orgnall developed b scentsts at dvanced Comptng Laborator at Los lamos Natonal Laborator LNL and s mantaned b CodeSorcer LLC [89]. lso a Cheetah messagng lbrar provded b LNL an nderlng messagng lbrar Messagng Passng Interface MPI from rgonne Natonal Laborator Comptaton Insttte as well as MM Shared Memor Lbrar are copled wth POOM n order to take the advantages of hgh performance parallel comptng of POOM over mltple processors or clster sstem The scentfc comptng tool provdes an eas-to-se nterface and s a far better means of commncaton than tet-based alternatves. Etensve se of vsal navgaton featres sch as bttons mens and trees and nttve manplaton of data wll make ths tool convenent for the scentfc comptng world. The tools needed to bld and test Java programs are avalable wthot charge. Sn makes the Java Development Kt JDK avalable over the Internet at where an ndvdal can download t. The JDK--whch ncldes the Java compler and nterpreter among other tools s ndobtedl ver smple to se.

3 Descrpton of the problem Partal Dfferental Eqatons descrbe the modelng of phscal processes takng place n or srrondngs. Partal Dfferental Eqaton PDE s a tpe of eqaton n whch the nknown can represent some of the thngs lke the temperatre or the shape of the wave or stress n a bent pece of metal. PDE s an eqaton nvolvng one or more partal dervatves of an nknown fncton of mltple varables [3]. general second-order partal dfferental eqaton looks lke ths. where a b c d e f and g can be fnctons of both the ndependent varables and and the dependent varable. Ths eqaton s sad to be ellptc when 0 4 < ac b parabolc when 0 4 = ac b and hperbolc when. 0 4 > ac b Ellptc partal dfferental eqatons arse sall from eqlbrm or stead-state problems and ther soltons [3]. The goal s to solve ellptc partal dfferental eqaton n the doman = Ω sbect to the Drchlet bondar condton =G on Ω. Ths problem can be solved sng the method of fnte dfferences. The method of fnte dfferences s eas to mplement and t gves good reslts of bondar vale problems. In ths method the dervatves appearng n the eqaton and the bondar condtons are replaced b ther fnte dfference appromatons []. Then the gven eqaton s changed to a dfference eqaton whch s solved b teratve procedres. B replacng the gven dervatves wth ther fnte dfference appromatons we get 1 1 h 1 1 k h 1 1 k 1 1 hk where h s the step sze between dscrete ponts and s eqal to N a b and k s the dscrete ponts and s eqal to M c d. 0 = g f e d c b a 0 = g f e d c b a

4 The above eqaton can be solved b dvdng Ω nto NM cells and applng central dfference formla at each of N 1 M 1 nteror grd ponts. Fgre 1 For the grd pont n the th row and th colmn of the grd gves the formla g4h k = 0 Eqaton g = 9 4h k where 1 N 1 N = 4ak = 4ch = bhk dhk ehk 9 5 = 4 fh k = 4ak = bhk 8ch dhk 8ak 6 3 = bhk = 4ch 7 ehk = bhk Eqaton1 can be solved sng statonar methods Jacob Gass-Sedel Sccessve Over Relaaton and non-statonar methods lke Congate Gradent Method and GMRES.

5 Estng pproach Grd based problems are common n scentfc comptng. n effcent solton to solve the partal dfferental eqatons has been and s stll of nterest. The followng are the tools that are commonl sed b scentfc comptng world. Matlab: Matlab s a hgh level nterpreted programmng langage generall sed for hgh performance nmercal comptaton and vsalzaton The Matlab PDE solver pdepe solves ntal-bondar vale problems for sstems of parabolc and ellptc PDEs n the one space varable and tme t. Mathematca: Mathematca[9] software developed b the compan Wolfram Research s a nmerc and smbolc calclaton sstem that ncorporates an ecellent programmng langage and the capact of ntegratng calclatons graphcs and tet n oneself docment electronc called notebook. Maple: The Maple sstem s an advanced mathematcal problem solvng and programmng envronment. PETSc: PETSc s a software lbrar that provdes data strctres and rotnes for the solvng scentfc applcatons modeled b partal dfferental eqatons on parallel or seral compters. To provde portablt across networks of workstatons PETSC ses cstomzed message-passng sstem. POOM: POOM Parallel Obect-Orented Methods and pplcatons s a collecton of templated C classes for wrtng parallel PDE solvers sng fnte-dfference and partcle methods. It provdes a varet of tools n spportng scentfc comptng wth featres of [6] Contaners and other abstractons for scentfc comptaton Spport for a varet of comptaton modes sch as data parallel stencl-based comptatons and laz evalaton as well as parallel and dstrbted comptaton programs wrtng. Robots of all nter process commncaton for parallel and dstrbted rotnes ot of order eecton and loop rearrangement for effcent program eecton. Wth POOM hgh-level abstractons the programs wrtten n POOM are mch shorter than conventonal FORTRN or C programs. The code s also easer to debg. The toolkt s compatble wth most of C complers. Lmtatons n estng software Solvng scentfc applcatons generall nvolves a great deal of arthmetc. One of the maor problems faced b the programmer s to convert the mathematcal concept nto effcent algorthm developed n some programmng langage. Thogh the estng software has come p wth a programmng envronment stll the ser s epected to wrte hs code for a specfed npt. Ths becomes an phll task to wrte a parallel code whch reqres a dfferent algorthm.

6 Scentfc Comptng Tool Ths tool generates code a seral code and parallel code for a ser specfed npt to solve a general ellptc partal dfferental eqatons. The seral code s mplemented n C. The parallel code s mplemented n C sng POOM lbrar. The ser nterface provdes a smlar look and feel to a GUI based program and s mplemented sng Java Swng for ncreased portablt to other operatng sstems. To the greatest degree possble the laot and fnctonalt of mens dalog boes and toolbars follows the standard GUI gdelnes for Software Desgn. The followng are the mportant classes sed n or sstem for generatng the code to solve ellptc partal dfferental eqatons. Start: Ths s the startng pont of the tool. Ths brngs p the splash screen and provdes the ser the detals of the sstem he s rnnng and t drects to the pdetool. Pdetool: Ths s the heart of the tool. Ths class represents the vew of the herarchcal data of the PDE. Fgre s the precedng fgre shows the nodes of the tree contan Ellptc Parabolc Hperbolc and ellptc node contanng the chldren one dmensonal two dmensonal three-dmensonal. When the ser rght clcks one dmensonal two dmensonal threedmensonal the correspondng sb nodes contanng lne rectangle cbe are obtaned. When the ser clcks the node lne rectangle ellpse crcle and cbe the correspondng obect s created n an nternal frame. The nternal frame can be reszed and moved throgh ot the wndow. When the ser clcks lne/rectangle/cbe a wzard s created that takes n the necessar npts for handlng the PDE problem. Ths s handled n the host class.

7 Host: Ths contans a handle to an arra of panels each representng one-step wzard process. Ths also captres the npt gven b the ser. Frame: Based on the npt entered b the ser ths class wrtes them n a sntactcall correct format and calls the correspondng solver to solve the partclar problem. The followng s the class dagram of the scentfc comptng tool. Fgre 3

8 parallel sample code generated b se of scentfc comptng tool for solvng a varable Posson eqaton wth varable coeffcents and bondar condtons s shown below. #nclde "Pooma/rras.h" #nclde <ostream> #nclde <fstream.h> #defne N 10 #defne N 10 #defne strde #defne Iteraton 00 #defne hsqare doblen-1.0/doblen*n #defne ksqare doblen-1.0/doblen*n //Defne the coeffcents a b and c. nlne doble doble doble; nlne doble Bdoble doble; nlne doble Cdoble doble; nlne doble doble doble {retrn ; nlne doble Bdoble doble {retrn ; nlne doble Cdoble doble {retrn ; //Bondar condtons to be appled. nlne doble g1dobledoble; nlne doble gdobledoble; nlne doble g3dobledoble; nlne doble g4dobledoble; nlne doble g1doble doble { retrn ; nlne doble gdoble doble { retrn ; nlne doble g3doble doble { retrn ; nlne doble g4doble doble { retrn ; // ppl a Jacob teraton on the gven doman. vod ppljacob const rra<> & V // the doman to be solved. const rra<> & a // the doman to be solved. const rra<> & b // the doman to be solved. const rra<> & c // the doman to be solved. const Range<1> & I // as sbscrpt const Range<1> & J // as sbscrpt { VIJ = 1.0/.0*ksqare*aIJ hsqare*bij * ksqare*aij*vi1j VI-1J hsqare*bij*vij1 VIJ-1 - cij*hsqare*ksqare ; //Calclate the sm of sqares errors n a D rra. //No modfcaton needs below. template<class ValeTpe class EngneTag> ValeTpe sm_sqr const rra< ValeTpe EngneTag> & { ValeTpe sm = 0.0; nt begn_0 =.frst0 end_0 =.last0 begn_1 =.frst1 end_1 =.last1; // Mst block before scalar loop. Pooma::blockndEvalate; nt man nt argc // argment cont char *argv[] // argment lst { ofstream osf; // Intalze Pooma. Pooma::ntalzeargc argv; // The arra to be solved zero ot. rra<> VN N; V = 0.0; // The rght hand sde fncton of the eqaton f: //Intalzaton rra<> an N; a = 0.0; rra<> bn N; b = 0.0; rra<> cn N; c = 0.0; // Mst block before scalar code. Pooma::blockndEvalate; //Defne f fornt = 0; < N; fornt = 0; < N; { a = 10; //coeffcent of b = B10; //coeffcent of c = C00; //rght hand sde fncton cn/n/ = doble -N/.0; fornt = 0; < N; { V0 = g100; VN-1 = g00; fornt = 0; < N; { V0 = g300; VN-1 = g400; // The nteror doman now wth nmber of strde. // No modfcaton s needed below at ths tme. Range<1> I1 N-strde1 strde J1 N-strde1 strde; // Iterate tll converged or mamm Iteraton steps. doble SSErr = 0.01; // anthng greater than threshold nt teraton; for teraton=0; teraton < Iteraton && SSErr > 1e-6; teraton { //Red block ppljacob V a b c I J; ppljacob V a b c I1 J1; //Black block

9 for nt = begn_0; <= end_0; { for nt = begn_1; <= end_1; { ValeTpe vale =.read ; sm = vale * vale; retrn sm; ppljacob Va b c I1 J; ppljacob Va b c I J1; //Compte resdal. SSErr = sm_sqr VI1J VI-1J*ksqare*aIJ VIJ1 VIJ-1*hsqare*bIJ - cij*hsqare*ksqare.0*ksqare*aij hsqare*bij*vij ; // Prnt ot the reslt. std::cot << "Iteratons = " << teraton << std::endl; std::cot << "Resdal = " << SSErr << std::endl; std::cot << "Solved doman sze n " << N << " " << N << "." << std::endl; //Wrte the reslt to fle. osf.open "reslt.tt"; osf << V << std::endl; osf.close ; // Clean p and report sccess. Pooma::fnalze; retrn 0; The entre code generaton was dvded nto three steps. The flow dagram shown below descrbes how the code generaton was handled effectvel wthn the scentfc comptng tool. Step I Defne program prototpe & header fles Step II Translate the ser npts to a sntactcall correct wa that can be nderstood b the compler Step III Create sorce code sng a template that handles the above npts.

10 Reslts and Dscsson The goal of ths proect s to come p wth a small prototpe n bldng a generc tool that s stable for scentfc comptng on a clster. s the frst step we tested the tool for the lnear ellptc partal dfferental eqatons. The generated code was compled and rn on the clster. In the case of parallel code eecton a clster wth 4 nodes rnnng Pentm III 440 MHz processor and 56 MB RM was sed for testng performance. 10/100 Base-T Faster Ethernet card s sed for commncatons between nodes. Fgre 4 llstrates the performance of the three solvers of sng dfferent algorthms for solvng a Posson eqaton on a rectanglar grd wth seqental code mplemented n C. smple method for solvng the above eqaton s to teratvel appl the eqaton ntl there s lttle change n. Ths s the Jacob teratve method for solvng the eqaton. modfcaton of ths process called the Gass-Sedel method ma fnd the solton n fewer teratons. s descrbed n Introdcton to Parallel lgorthms and rchtectres page 98 ths method sggests that we can calclate the new vales of all the even-part ponts sng eqaton 1; then calclate the new vales for all of the odd-part ponts sng the vales st calclated for the even part ponts[1]. The part of the pont /N /N s defned to be even f s even and odd f s odd. Ths wll case the method to converge n fewer teratons bt ma not be benefcal for small matrces snce ths reqres two commncatons per teraton nstead of one for Jacob s method. Gass- Sedel teraton method can be frther be mproved b changng the convergence rate sng the Sccessve over relaaton SOR method. pplcaton of SOR to the above set of eqaton gves m 1 = 1 m m 1 ω ω Where 1 < ω <..0 The vale of ω s normall. π 1 sn N N Where N N are the sze of the grd along the and -as.

11 Comparson of Performance of 3 Statonar Iteratve Methods Jacoban Gass Sedel Sccessve over Relaaton Tme seconds Nmber of Grd Ponts Fgre 4. Comparson of performance of three algorthms mplemented n the seral code. The followng s a graph generated b the tool for solvng = 0 n the doman Ω=0101 sbect to the drchlet bondar condton = snh*sn10* on Ω..

12 s a comparson Fgre 5 shows the performance of eecton of a parallel code b applng Jacob Iteraton Relaaton method to solve the same problem over 4 nodes clster sstem. One ma wonder how ths parallel code cold be so effcent t mght have been too good to be tre. However wth carefl eamnaton of the sample parallel code one can observe that the mplementaton of Jacob Iteraton Relaaton algorthm has taken the benefts of data parallel epresson on POOM. s t has been show n the sample code both parameters and varable nknown were defned as rra obects. The ntalzaton of these arra obects was done wth sngle statement bt none for loop presents. The Range obects shown n the sample code one dmenson n ths case beneft the representaton of nde seqences wth non-nt strdes whch provdes an effcent wa to defne non-adacent arra elements n parallel fashon. The Red/Black block operatons wthn teraton loop frther mprove the parallel performance on comptng t redces the amont of memor that a program reqres [9]. Comparson of Performance of Parallel vs. Seqental Comptaton Tme seconds Parallell Code Seqental Code Nmber of Grd Ponts Fgre 5. Comparson of performance of parallel verss seqental code. nother mportant pont shold be addressed here regardng POOM hghl abstractve obects s that t ses a tpe of obect called Engne a ke to the POOM hgh performance [7]. n engne s an abstractve obect mplemented n POOM whch performs the low-level vale storage comptaton and element wse access for a contaner [6]. The fncton sm_sqr shown n the sample code takes the advantages of Engnes. It s completel dfferent form other langages that se whole-arra operatons whch sall reqres temporar arra for holdng data. In fact drng the comptng process the arras do not store data n POOM bt act as handles on an engne. The engne knows how to evalate and retrn vales on the gven sets of ndces

13 correspondng the predefned arras. That s engne can reference data storage drectl and translate a set of ndces nto a vale b lookng p the vale based on the ndces n memor. n nterestng observaton from Fgre 5 s the overhead of nterprocess commncaton among the nodes of clster for parallel code eecton. Intall the grd sze s relatvel small sch that seqental code eecton s mch faster than parallel code becase the commncaton overhead can t be elmnated for the parallel code. In fact for a small grd sze the parallel code s not the frst choce for effcenc concern. Conclsons & Ftre Enhancements In ths proect t s am to develop a tool that smplfes the code development n scentfc comptng. The tool can generate both seral and parallel code for a general ellptc PDE problem accordng to the ser specfed npt n a fashon of less tme consmng wth ser-frendl nterface. Wth some smple modfcatons for eample addng a node to the tree strctre t can be etended to solve dfferent knd of problems. Crrent work that we have done s attemptng to solve lnear ellptc partal dfferental eqatons sng the statonar methods. Crrentl we are workng on the nonstatonar methods sch as Congate Gradent method and GMRES and the wll be added n the net release. Ths tool solves ellptc partal dfferental eqatons on a rectlnear doman. Ths can be etended to lnear two-dmensonal frst order sstems of ellptc partal-dfferental eqatons PDE s and assocated bondar condtons over a fnte non of rectangles. Detals can be fond n [8]. Scentfc Comptng Tool crrentl can generate parallel code that ses data parallel mechansm. Wth the clster sstem t wold be more effcent that machne parallelsm cold be ntrodced wth the consderaton of load balancng over all nodes of whole clster sstem. In order to have fll benefcar of POOM the tool shold be able to spport parallel comptaton over a fll dstrbted clster sstem. References 1. Thomson L.F. Introdcton to Parallel lgorthms and rchtectres: rras Trees and Hpercbes. San Mateo Calforna: Morgan Kafmann Grewal B.S. Hgher Engneerng Mathematcs Khanna Pblcatons Dchatea P. and ZachMann D.W. Partal Dfferental Eqatons Scham s otlne seres n mathematcs Pblsher Naghton P. and Schldt H. The Complete Reference Java 3 rd. edton Tata McGraw-Hll Norton C.D. Thess work on Obect orented paradgms n scentfc comptng Department of Compter Scence Rensselaer Poltechnc Insttte Tro New York US. 6. Oldham J.D. POOM C Toolkt for Hgh Performance Parallel Scentfc Comptng Codesorcer LLC. March 1 st. 001.

14 7. Wllams T.J. Renders J.W. Hmphre W.F. and Cmmngs J.C. POOM User Gde Parallel Obect-Orented Methods and pplcatons Los lamos Natonal Laborator HOHN.M. On the Solton of Med Bondar Vale Problems n Elastct. Ph.D. thess Department of Mathematcs Unverst of Utah SaltLake Ct UT USDec Edcatonal applcatons of Mathematca cknowledgements We wold lke to thank Dr.Gregg Stbbendeck for the valable sggestons n desgnng the nterface. We wold lke to thank the Beowlf Clster grop at SDSM&T for ther spport. We wold lke to thank all the ndvdals who are drectl or ndrectl nvolved n the sccessfl completon of ths proect.

Modeling Local Uncertainty accounting for Uncertainty in the Data

Modeling Local Uncertainty accounting for Uncertainty in the Data Modelng Local Uncertanty accontng for Uncertanty n the Data Olena Babak and Clayton V Detsch Consder the problem of estmaton at an nsampled locaton sng srrondng samples The standard approach to ths problem

More information

Numerical Solution of Deformation Equations. in Homotopy Analysis Method

Numerical Solution of Deformation Equations. in Homotopy Analysis Method Appled Mathematcal Scences, Vol. 6, 2012, no. 8, 357 367 Nmercal Solton of Deformaton Eqatons n Homotopy Analyss Method J. Izadan and M. MohammadzadeAttar Department of Mathematcs, Faclty of Scences, Mashhad

More information

An Improved Isogeometric Analysis Using the Lagrange Multiplier Method

An Improved Isogeometric Analysis Using the Lagrange Multiplier Method An Improved Isogeometrc Analyss Usng the Lagrange Mltpler Method N. Valzadeh 1, S. Sh. Ghorash 2, S. Mohammad 3, S. Shojaee 1, H. Ghasemzadeh 2 1 Department of Cvl Engneerng, Unversty of Kerman, Kerman,

More information

GSA Training Notes Raft and Piled-raft Analysis

GSA Training Notes Raft and Piled-raft Analysis GSA Tranng Notes Rat and Pled-rat Analyss 1 Introdcton Rat analyss n GSA provdes a means o lnkng GSA statc analyss and sol settlement analyss, so the sol-strctre nteractons can be consdered n the analyss.

More information

Hybrid Method of Biomedical Image Segmentation

Hybrid Method of Biomedical Image Segmentation Hybrd Method of Bomedcal Image Segmentaton Mng Hng Hng Department of Electrcal Engneerng and Compter Scence, Case Western Reserve Unversty, Cleveland, OH, Emal: mxh8@case.ed Abstract In ths paper we present

More information

Ordinary Differential Equations and Partial Differential Equations: Solutions and Parallelism

Ordinary Differential Equations and Partial Differential Equations: Solutions and Parallelism Ordnary Dfferental Eqatons and Partal Dfferental Eqatons: Soltons and Parallelsm UCSB CS4A Tao Yang Some sldes are from K. Yalck/Demmel Fnte-Dfference Method for ODE/PDE Dscretze doman of a fncton For

More information

A General Algorithm for Computing Distance Transforms in Linear Time

A General Algorithm for Computing Distance Transforms in Linear Time Ths chapter has been pblshed as: A. Mejster, J. B. T. M. Roerdnk and W. H. Hesselnk, A general algorthm for comptng dstance transforms n lnear tme. In: Mathematcal Morphology and ts Applcatons to Image

More information

OBJECT TRACKING BY ADAPTIVE MEAN SHIFT WITH KERNEL BASED CENTROID METHOD

OBJECT TRACKING BY ADAPTIVE MEAN SHIFT WITH KERNEL BASED CENTROID METHOD ISSN : 0973-739 Vol. 3, No., Janary-Jne 202, pp. 39-42 OBJECT TRACKING BY ADAPTIVE MEAN SHIFT WITH KERNEL BASED CENTROID METHOD Rahl Mshra, Mahesh K. Chohan 2, and Dhraj Ntnawwre 3,2,3 Department of Electroncs,

More information

Report #1 Example. Semester

Report #1 Example. Semester Report # Eample Parallel FEM Class n Wnter Semester Kengo aajma Informaton Technology Center Techncal & Scentfc Comptng I (480-07) Semnar on Compter Scence I (480-04) Report-0 D Statc Lnear Elastc Problem

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

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

Multilevel Iterative Methods

Multilevel Iterative Methods Mltleel Iterate Methods Erc Yn Adsor: Professor Randy Bank, UCSD Contents Introdcton.. 3 Basc Mltgrd Algorthm. Mltgrd fondatons 3. Mltgrd algorthm 4 3 Epermentaton 5 4 Algebrac Mltgrd (AMG) 4. Introdcton

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

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

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

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

Scheduling with Integer Time Budgeting for Low-Power Optimization

Scheduling with Integer Time Budgeting for Low-Power Optimization Schedlng wth Integer Tme Bdgetng for Low-Power Optmzaton We Jang, Zhr Zhang, Modrag Potkonjak and Jason Cong Compter Scence Department Unversty of Calforna, Los Angeles Spported by NSF, SRC. Otlne Introdcton

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

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

Parallel Numerics. 1 Preconditioning & Iterative Solvers (From 2016)

Parallel Numerics. 1 Preconditioning & Iterative Solvers (From 2016) Technsche Unverstät München WSe 6/7 Insttut für Informatk Prof. Dr. Thomas Huckle Dpl.-Math. Benjamn Uekermann Parallel Numercs Exercse : Prevous Exam Questons Precondtonng & Iteratve Solvers (From 6)

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

2D Raster Graphics. Integer grid Sequential (left-right, top-down) scan. Computer Graphics

2D Raster Graphics. Integer grid Sequential (left-right, top-down) scan. Computer Graphics 2D Graphcs 2D Raster Graphcs Integer grd Sequental (left-rght, top-down scan j Lne drawng A ver mportant operaton used frequentl, block dagrams, bar charts, engneerng drawng, archtecture plans, etc. curves

More information

A large-alphabet oriented scheme for Chinese and English text compression

A large-alphabet oriented scheme for Chinese and English text compression A large-alphabet orented scheme for Chnese and Englsh text compresson Hng-Yan G * Department of Compter Scence and Informaton Engneerng atonal Tawan Unersty of Scence and Technology Tape Tawan SUMMARY

More information

CS434a/541a: Pattern Recognition Prof. Olga Veksler. Lecture 15

CS434a/541a: Pattern Recognition Prof. Olga Veksler. Lecture 15 CS434a/541a: Pattern Recognton Prof. Olga Veksler Lecture 15 Today New Topc: Unsupervsed Learnng Supervsed vs. unsupervsed learnng Unsupervsed learnng Net Tme: parametrc unsupervsed learnng Today: nonparametrc

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

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

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

The Codesign Challenge

The Codesign Challenge ECE 4530 Codesgn Challenge Fall 2007 Hardware/Software Codesgn The Codesgn Challenge Objectves In the codesgn challenge, your task s to accelerate a gven software reference mplementaton as fast as possble.

More information

Very simple computational domains can be discretized using boundary-fitted structured meshes (also called grids)

Very simple computational domains can be discretized using boundary-fitted structured meshes (also called grids) Structured meshes Very smple computatonal domans can be dscretzed usng boundary-ftted structured meshes (also called grds) The grd lnes of a Cartesan mesh are parallel to one another Structured meshes

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

AMath 483/583 Lecture 21 May 13, Notes: Notes: Jacobi iteration. Notes: Jacobi with OpenMP coarse grain

AMath 483/583 Lecture 21 May 13, Notes: Notes: Jacobi iteration. Notes: Jacobi with OpenMP coarse grain AMath 483/583 Lecture 21 May 13, 2011 Today: OpenMP and MPI versons of Jacob teraton Gauss-Sedel and SOR teratve methods Next week: More MPI Debuggng and totalvew GPU computng Read: Class notes and references

More information

A Linear Time Algorithm for Finding a Maximal Planar Subgraph Based on PC -Trees Abstract 1. Introduction

A Linear Time Algorithm for Finding a Maximal Planar Subgraph Based on PC -Trees Abstract 1. Introduction A Lnear Tme Algorthm for Fndng a Mamal Planar Sbgraph Based on PC-Trees Wen-Lan Hs Insttte of Informaton Scence, Academa Snca, Tape, Tawan, ROC hs@s.snca.ed.tw Abstract In Shh & Hs, a planart test was

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

CHARUTAR VIDYA MANDAL S SEMCOM Vallabh Vidyanagar

CHARUTAR VIDYA MANDAL S SEMCOM Vallabh Vidyanagar CHARUTAR VIDYA MANDAL S SEMCOM Vallabh Vdyanagar Faculty Name: Am D. Trved Class: SYBCA Subject: US03CBCA03 (Advanced Data & Fle Structure) *UNIT 1 (ARRAYS AND TREES) **INTRODUCTION TO ARRAYS If we want

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

Brave New World Pseudocode Reference

Brave New World Pseudocode Reference Brave New World Pseudocode Reference Pseudocode s a way to descrbe how to accomplsh tasks usng basc steps lke those a computer mght perform. In ths week s lab, you'll see how a form of pseudocode can be

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

A simple piecewise cubic spline method for approximation of highly nonlinear data

A simple piecewise cubic spline method for approximation of highly nonlinear data Vol., No., 9 () http://d.do.org/./ns.. Natral Scence A sple pecewse cbc splne ethod for approaton of hghly nonlnear Mehd Zaan Cvl Engneerng Departent, Faclty of Techncal and Engneerng, Yaso Unversty, Yaso,

More information

Image Contrast Gain Control by Linear Neighbourhood Embedding

Image Contrast Gain Control by Linear Neighbourhood Embedding Vsal nformaton Processng Laborator School of Compter Scence and nformaton Technolog The Unverst of Nottngham Techncal Report Report-VPLAB-02-2005 15 November 2005 mage Contrast Gan Control b Lnear Neghborhood

More information

A MOVING MESH APPROACH FOR SIMULATION BUDGET ALLOCATION ON CONTINUOUS DOMAINS

A MOVING MESH APPROACH FOR SIMULATION BUDGET ALLOCATION ON CONTINUOUS DOMAINS Proceedngs of the Wnter Smulaton Conference M E Kuhl, N M Steger, F B Armstrong, and J A Jones, eds A MOVING MESH APPROACH FOR SIMULATION BUDGET ALLOCATION ON CONTINUOUS DOMAINS Mark W Brantley Chun-Hung

More information

Notes on Organizing Java Code: Packages, Visibility, and Scope

Notes on Organizing Java Code: Packages, Visibility, and Scope Notes on Organzng Java Code: Packages, Vsblty, and Scope CS 112 Wayne Snyder Java programmng n large measure s a process of defnng enttes (.e., packages, classes, methods, or felds) by name and then usng

More information

Parallel Iterative Poisson Solver for a Distributed Memory Architecture

Parallel Iterative Poisson Solver for a Distributed Memory Architecture Parallel Iteratve Posso Solver for a Dstrbted Memory Archtectre Erc Dow Aerospace Comptatoal Desg Lab Departmet of Aeroatcs ad Astroatcs 2 Motvato Solvg Posso s Eqato s a commo sbproblem may mercal schemes

More information

Constrained Robust Model Predictive Control Based on Polyhedral Invariant Sets by Off-line Optimization

Constrained Robust Model Predictive Control Based on Polyhedral Invariant Sets by Off-line Optimization A pblcaton of 47 CHEMICA ENGINEERING TRANSACTIONS VO 3, 3 Cef Edtors: Saro Percc, Jří J Klemeš Copyrgt 3, AIDIC Servz Srl, ISBN 978-88-9568-3-5; ISSN 974-979 Te Italan Assocaton of Cemcal Engneerng Onlne

More information

Loop Transformations for Parallelism & Locality. Review. Scalar Expansion. Scalar Expansion: Motivation

Loop Transformations for Parallelism & Locality. Review. Scalar Expansion. Scalar Expansion: Motivation Loop Transformatons for Parallelsm & Localty Last week Data dependences and loops Loop transformatons Parallelzaton Loop nterchange Today Scalar expanson for removng false dependences Loop nterchange Loop

More information

Restaurants Review Star Prediction for Yelp Dataset

Restaurants Review Star Prediction for Yelp Dataset Restarants Revew Star Predcton for Yelp Dataset Mengq Y UC San Dego A53077101 mey004@eng.csd.ed Meng Xe UC San Dego A53070417 m6xe@eng.csd.ed Wenja Oyang UC San Dego A11069530 weoyang@eng.csd.ed ABSTRACT

More information

Μέθοδος Πολυπλέγματoς (Multigrid)

Μέθοδος Πολυπλέγματoς (Multigrid) NATIONAL TECNICAL UNIVERSITY OF ATENS Parallel CFD & Optmzaton Unt Laboratory of Termal Trbomacnes Μέθοδος Πολυπλέγματoς (Mltgrd) Κυριάκος Χ. Γιαννάκογλου, Καθηγητής ΕΜΠ Βαρβάρα Ασούτη, Δρ. Μηχ. Μηχανικός

More information

An Application of the Dulmage-Mendelsohn Decomposition to Sparse Null Space Bases of Full Row Rank Matrices

An Application of the Dulmage-Mendelsohn Decomposition to Sparse Null Space Bases of Full Row Rank Matrices Internatonal Mathematcal Forum, Vol 7, 2012, no 52, 2549-2554 An Applcaton of the Dulmage-Mendelsohn Decomposton to Sparse Null Space Bases of Full Row Rank Matrces Mostafa Khorramzadeh Department of Mathematcal

More information

Intro. Iterators. 1. Access

Intro. Iterators. 1. Access Intro Ths mornng I d lke to talk a lttle bt about s and s. We wll start out wth smlartes and dfferences, then we wll see how to draw them n envronment dagrams, and we wll fnsh wth some examples. Happy

More information

Performance Modeling of Web-based Software Systems with Subspace Identification

Performance Modeling of Web-based Software Systems with Subspace Identification Acta Poltechnca Hngarca Vol. 13, No. 7, 2016 Performance Modelng of Web-based Software Sstems wth Sbspace Identfcaton Ágnes Bogárd-Mészöl, András Rövd, Shohe Yokoama Department of Atomaton and Appled Informatcs,

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

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

High level vs Low Level. What is a Computer Program? What does gcc do for you? Program = Instructions + Data. Basic Computer Organization

High level vs Low Level. What is a Computer Program? What does gcc do for you? Program = Instructions + Data. Basic Computer Organization What s a Computer Program? Descrpton of algorthms and data structures to acheve a specfc ojectve Could e done n any language, even a natural language lke Englsh Programmng language: A Standard notaton

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

ELEC 377 Operating Systems. Week 6 Class 3

ELEC 377 Operating Systems. Week 6 Class 3 ELEC 377 Operatng Systems Week 6 Class 3 Last Class Memory Management Memory Pagng Pagng Structure ELEC 377 Operatng Systems Today Pagng Szes Vrtual Memory Concept Demand Pagng ELEC 377 Operatng Systems

More information

News. Recap: While Loop Example. Reading. Recap: Do Loop Example. Recap: For Loop Example

News. Recap: While Loop Example. Reading. Recap: Do Loop Example. Recap: For Loop Example Unversty of Brtsh Columba CPSC, Intro to Computaton Jan-Apr Tamara Munzner News Assgnment correctons to ASCIIArtste.java posted defntely read WebCT bboards Arrays Lecture, Tue Feb based on sldes by Kurt

More information

Introduction to Geometrical Optics - a 2D ray tracing Excel model for spherical mirrors - Part 2

Introduction to Geometrical Optics - a 2D ray tracing Excel model for spherical mirrors - Part 2 Introducton to Geometrcal Optcs - a D ra tracng Ecel model for sphercal mrrors - Part b George ungu - Ths s a tutoral eplanng the creaton of an eact D ra tracng model for both sphercal concave and sphercal

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

SENSITIVITY ANALYSIS IN LINEAR PROGRAMMING USING A CALCULATOR

SENSITIVITY ANALYSIS IN LINEAR PROGRAMMING USING A CALCULATOR SENSITIVITY ANALYSIS IN LINEAR PROGRAMMING USING A CALCULATOR Judth Aronow Rchard Jarvnen Independent Consultant Dept of Math/Stat 559 Frost Wnona State Unversty Beaumont, TX 7776 Wnona, MN 55987 aronowju@hal.lamar.edu

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

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

X- Chart Using ANOM Approach

X- Chart Using ANOM Approach ISSN 1684-8403 Journal of Statstcs Volume 17, 010, pp. 3-3 Abstract X- Chart Usng ANOM Approach Gullapall Chakravarth 1 and Chaluvad Venkateswara Rao Control lmts for ndvdual measurements (X) chart are

More information

NURBS curve method Taylor's launch type of interpolation arithmetic Wan-Jun Zhang1,2,3,a, Shan-Ping Gao1,b Xi-Yan Cheng 1,c &Feng Zhang2,d

NURBS curve method Taylor's launch type of interpolation arithmetic Wan-Jun Zhang1,2,3,a, Shan-Ping Gao1,b Xi-Yan Cheng 1,c &Feng Zhang2,d Advances n Engneerng Research volme 118 nd Internatonal Conference on Atomaton Mechancal Control and Comptatonal Engneerng (AMCCE 17) NURBS crve method Taylor's lanch type of nterpolaton arthmetc Wan-Jn

More information

Array transposition in CUDA shared memory

Array transposition in CUDA shared memory Array transposton n CUDA shared memory Mke Gles February 19, 2014 Abstract Ths short note s nspred by some code wrtten by Jeremy Appleyard for the transposton of data through shared memory. I had some

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

A New Approach For the Ranking of Fuzzy Sets With Different Heights

A New Approach For the Ranking of Fuzzy Sets With Different Heights New pproach For the ankng of Fuzzy Sets Wth Dfferent Heghts Pushpnder Sngh School of Mathematcs Computer pplcatons Thapar Unversty, Patala-7 00 Inda pushpndersnl@gmalcom STCT ankng of fuzzy sets plays

More information

An Optimal Algorithm to Find a Minimum 2-neighbourhood Covering Set on Cactus Graphs

An Optimal Algorithm to Find a Minimum 2-neighbourhood Covering Set on Cactus Graphs Annals of Pre Appled Mathematcs Vol 2 No 1 212 45-59 ISSN: 2279-87X (P) 2279-888(onlne) Pblshed on 18 December 212 wwwresearchmathscorg Annals of An Optmal Algorthm to Fnd a Mnmm 2-neghborhood overng Set

More information

Loop Permutation. Loop Transformations for Parallelism & Locality. Legality of Loop Interchange. Loop Interchange (cont)

Loop Permutation. Loop Transformations for Parallelism & Locality. Legality of Loop Interchange. Loop Interchange (cont) Loop Transformatons for Parallelsm & Localty Prevously Data dependences and loops Loop transformatons Parallelzaton Loop nterchange Today Loop nterchange Loop transformatons and transformaton frameworks

More information

Boundary layer and mesh refinement effects on aerodynamic performances of horizontal axis wind turbine (HAWT)

Boundary layer and mesh refinement effects on aerodynamic performances of horizontal axis wind turbine (HAWT) Bondary layer and mesh refnement effects on aerodynamc performances of horzontal axs wnd trbne (HAWT) YOUNES EL KHCHINE, MOHAMMED SRITI Engneerng Scences Laboratory, Polydscplnary Faclty Sd Mohamed Ben

More information

Unsupervised Learning and Clustering

Unsupervised Learning and Clustering Unsupervsed Learnng and Clusterng Supervsed vs. Unsupervsed Learnng Up to now we consdered supervsed learnng scenaro, where we are gven 1. samples 1,, n 2. class labels for all samples 1,, n Ths s also

More information

Outline. Type of Machine Learning. Examples of Application. Unsupervised Learning

Outline. Type of Machine Learning. Examples of Application. Unsupervised Learning Outlne Artfcal Intellgence and ts applcatons Lecture 8 Unsupervsed Learnng Professor Danel Yeung danyeung@eee.org Dr. Patrck Chan patrckchan@eee.org South Chna Unversty of Technology, Chna Introducton

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

Lecture 4: Principal components

Lecture 4: Principal components /3/6 Lecture 4: Prncpal components 3..6 Multvarate lnear regresson MLR s optmal for the estmaton data...but poor for handlng collnear data Covarance matrx s not nvertble (large condton number) Robustness

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

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

Loop Transformations, Dependences, and Parallelization

Loop Transformations, Dependences, and Parallelization Loop Transformatons, Dependences, and Parallelzaton Announcements Mdterm s Frday from 3-4:15 n ths room Today Semester long project Data dependence recap Parallelsm and storage tradeoff Scalar expanson

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

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

Unsupervised Learning

Unsupervised Learning Pattern Recognton Lecture 8 Outlne Introducton Unsupervsed Learnng Parametrc VS Non-Parametrc Approach Mxture of Denstes Maxmum-Lkelhood Estmates Clusterng Prof. Danel Yeung School of Computer Scence and

More information

Computer models of motion: Iterative calculations

Computer models of motion: Iterative calculations Computer models o moton: Iteratve calculatons OBJECTIVES In ths actvty you wll learn how to: Create 3D box objects Update the poston o an object teratvely (repeatedly) to anmate ts moton Update the momentum

More information

Accounting for the Use of Different Length Scale Factors in x, y and z Directions

Accounting for the Use of Different Length Scale Factors in x, y and z Directions 1 Accountng for the Use of Dfferent Length Scale Factors n x, y and z Drectons Taha Soch (taha.soch@kcl.ac.uk) Imagng Scences & Bomedcal Engneerng, Kng s College London, The Rayne Insttute, St Thomas Hosptal,

More information

IP Camera Configuration Software Instruction Manual

IP Camera Configuration Software Instruction Manual IP Camera 9483 - Confguraton Software Instructon Manual VBD 612-4 (10.14) Dear Customer, Wth your purchase of ths IP Camera, you have chosen a qualty product manufactured by RADEMACHER. Thank you for the

More information

MULTISPECTRAL IMAGES CLASSIFICATION BASED ON KLT AND ATR AUTOMATIC TARGET RECOGNITION

MULTISPECTRAL IMAGES CLASSIFICATION BASED ON KLT AND ATR AUTOMATIC TARGET RECOGNITION MULTISPECTRAL IMAGES CLASSIFICATION BASED ON KLT AND ATR AUTOMATIC TARGET RECOGNITION Paulo Quntlano 1 & Antono Santa-Rosa 1 Federal Polce Department, Brasla, Brazl. E-mals: quntlano.pqs@dpf.gov.br and

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

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 Yordzhev K., Kostadnova H. Інформаційні технології в освіті ON SOME ENTERTAINING APPLICATIONS OF THE CONCEPT OF SET IN COMPUTER SCIENCE COURSE Yordzhev K., Kostadnova H. Some aspects of programmng educaton

More information

A. General Type- Fzzy Clsterng There are two knds of type- fzzy sets whch are often sed n clsterng algorthms: 1) nterval and ) general. In nterval typ

A. General Type- Fzzy Clsterng There are two knds of type- fzzy sets whch are often sed n clsterng algorthms: 1) nterval and ) general. In nterval typ 014 IEEE Internatonal Conference on Fzzy Systems (FUZZ-IEEE) Jly 6-11, 014, Beng, Chna A Hybrd Type- Fzzy Clsterng Technqe for Inpt Data Preprocessng of Classfcaton Algorthms Vahd Nor, Mohammad-. Akbarzadeh-T.

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

FEATURE EXTRACTION. Dr. K.Vijayarekha. Associate Dean School of Electrical and Electronics Engineering SASTRA University, Thanjavur

FEATURE EXTRACTION. Dr. K.Vijayarekha. Associate Dean School of Electrical and Electronics Engineering SASTRA University, Thanjavur FEATURE EXTRACTION Dr. K.Vjayarekha Assocate Dean School of Electrcal and Electroncs Engneerng SASTRA Unversty, Thanjavur613 41 Jont Intatve of IITs and IISc Funded by MHRD Page 1 of 8 Table of Contents

More information

Recognizing Periodicities on 3D Scanned Meshes Based on Indexed-ICP Algorithm

Recognizing Periodicities on 3D Scanned Meshes Based on Indexed-ICP Algorithm Orgnal Artcle Proceedngs of IDMME - Vrtal Concept 8 Beng Chna October 8 8 Recognzng Perodctes on 3D Scanned Meshes Based on Indeed-ICP Algorthm Dase Kondo Tomohro Mzogch Satosh Kana Gradate School of Informaton

More information

Quick error verification of portable coordinate measuring arm

Quick error verification of portable coordinate measuring arm Quck error verfcaton of portable coordnate measurng arm J.F. Ouang, W.L. Lu, X.H. Qu State Ke Laborator of Precson Measurng Technolog and Instruments, Tanjn Unverst, Tanjn 7, Chna Tel.: + 86 [] 7-8-99

More information

Solutions to Programming Assignment Five Interpolation and Numerical Differentiation

Solutions to Programming Assignment Five Interpolation and Numerical Differentiation College of Engneerng and Coputer Scence Mechancal Engneerng Departent Mechancal Engneerng 309 Nuercal Analyss of Engneerng Systes Sprng 04 Nuber: 537 Instructor: Larry Caretto Solutons to Prograng Assgnent

More information

MODELING USER INTERESTS USING TOPIC MODEL

MODELING USER INTERESTS USING TOPIC MODEL Jornal of heoretcal and Appled Informaton echnology 0 th Febrary 203. Vol. 48 No. 2005-203 JAI & LLS. All rghts reserved. ISSN: 992-8645 www.att.org E-ISSN: 87-395 MODELING USER INERESS USING OPIC MODEL

More information

J1.8 APPLICATION OF CFD SIMULATIONS FOR SHORT-RANGE ATMOSPHERIC DISPERSION OVER OPEN FIELDS AND WITHIN ARRAYS OF BUILDINGS

J1.8 APPLICATION OF CFD SIMULATIONS FOR SHORT-RANGE ATMOSPHERIC DISPERSION OVER OPEN FIELDS AND WITHIN ARRAYS OF BUILDINGS AMS th Jont Conference on the Applcatons of Ar Pollton Meteorology wth the A&WMA, Atlanta, GA, Jan - Feb, 6. J.8 APPLICATION OF CFD SIMULATIONS FOR SHORT-RANGE ATMOSPHERIC DISPERSION OVER OPEN FIELDS AND

More information

Multi-Dimensional Regression Analysis of Time-Series Data Streams

Multi-Dimensional Regression Analysis of Time-Series Data Streams Mlt-Dmensonal Regresson Analyss of me-seres Data Streams Yxn Chen, Gozh Dong, Jawe Han, Benjamn W. Wah, Janyong Wang Unversty of Illnos at Urbana-Champagn Wrght State Unversty December 3, 2002 Otlne Characterstcs

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

Content Based Image Retrieval Using 2-D Discrete Wavelet with Texture Feature with Different Classifiers

Content Based Image Retrieval Using 2-D Discrete Wavelet with Texture Feature with Different Classifiers IOSR Journal of Electroncs and Communcaton Engneerng (IOSR-JECE) e-issn: 78-834,p- ISSN: 78-8735.Volume 9, Issue, Ver. IV (Mar - Apr. 04), PP 0-07 Content Based Image Retreval Usng -D Dscrete Wavelet wth

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

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

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

Approximating MAP using Local Search

Approximating MAP using Local Search UAI21 PARK & DARWICHE 43 Approxmatng MAP sng Local Search James D Park and Adnan Darwche Compter Scence Department Unversty of Calforna Los Angeles, CA 995 {jd,darwche }@csclaed Abstract MAP s the problem

More information