Data Representation in Digital Design, a Single Conversion Equation and a Formal Languages Approach
|
|
- Michael Cory Sullivan
- 5 years ago
- Views:
Transcription
1 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 organzaton, we work wth fnte domans. We found that the early concepts of formal languages can be appled n the study. We found as well that coverng the dfferent data representaton n sequence s benefcal. Tradtonal texts present the topcs n a dspersed fashon. The contrbuton of the paper s n: (a applyng the concepts of an alphabet, a word over an alphabet, and a formal a language to a dgtal desgn and computer organzaton course; and (b dervng a sngle converson equaton for the dfferent data encodngs used. We frst revew the dfferent bnary encodngs used n presentng numerc data. We then generate a generalzed equaton that can be appled to each of the man data types. By proper parameter substtutons we can convert between the dfferent data types. Introducton Fnte automaton forms one of the corner stones n the study computer scence; t s also fundamental n the study of computer engneerng. Fnte automata and pushdown automata are found n the study of complers n software [2, 3]. Fnte automaton s also found n the study of hardware desgn [, 7]. In [7] the desgn of the control unt and datapath of a processor can be modeled as a fnte state machne (FSM wth a datapath (FSMD. Algorthmc state machnes (ASMs are generalzaton of fnte state machnes and are used throughout the desgn process at the regster transfer level descrpton of a computer. At the early stages of studyng dgtal desgn and computer organzatons, the concepts of fnte state machnes are deferred towards the second half of the course. They are covered under the concepts state mnmzaton and sequental crcuts realzatons. Instead, n the early part of the course, the study of nteger data representaton and Boolean functon realzaton are covered. Later n the study, the dfferent representatons of real data type are covered. The study of data representatons, s dspersed; at dfferent parts of the course, the study ncludes unsgned data types for nteger and fxed pont real numbers, sgned data types, and floatng pont number representaton. When dscussng data types we also dscuss overflow and arthmetc errors for the many data representatons. The early parts of a formal languages course nclude, the defnton of an alphabet, the defnton of a word of arbtrary length of over an alphabet, and the defnton of a formal language over an alphabet. We found these same concepts can be ncorporated at the early stages of a dgtal desgn course. These concepts can be used to unfy the coverage of all data types and present a common bass for the data presentaton process. In ths paper we propose a teachng method that covers the topcs as an ordered sequence by startng wth the concept of alphabet, a word over an alphabet, and a formal language. We then use the common features of encodng to derve a sngle converson equaton from a gven code n the fnte doman to a mal equvalent. The paper s organzaton as follows. Secton 2 starts wth the needed defntons of a formal language and how these defntons can be used to construct all possble words over the bnary alphabet. The secton ncludes the defnton of concatenaton of words and languages. Secton 3 expands on the defntons applcatons; we progress to the dfferent word nterpretaton n a dgtal desgn course where we explore the representaton of the three major data types: unsgned ntegers, sgned ntegers and floatng-pont representatons. Secton 4, covers revews the IEEE 754 floatng pont representaton. From the equatons derved n sectons 3 and 4, n secton 5 we form a generalzed converson equaton that apples all data types. The concluson s gven n secton 6. 2 Alphabet, Words and Formal Languages The defntons of an alphabet a word and formal language are found n [2, 3]. An alphabet s defned as any set of symbols,. We normally work wth a fnte set of symbols. The cardnalty of a set,, s the number of elements n the set and s denoted as. A word over the alphabet,, s an ordered n-tuple (a, a 2,, a n where each a s an alphabet symbol n. The length of the word s the
2 number of alphabet symbols n the word. We normally abbrevate the word by removng the parentheses and commas (represent as a a 2 a n. We denote the set of all words of length n as n w w a a... a where each a s an element of }. { 2 n The set of all words of any length over an alphabet s defned as *, where U represents the unon of sets operator. The set s a specal set that contans a specal symbol (a word of length. The symbol s the dentty symbol under concatenaton. A formal language, L, over an alphabet s defned as any subset of *. The concatenaton operator,., can be used to generate new words. The operator s defned over two alphabet symbols, two words, two languages, or any combnatons of symbols words and languages. For example, let L be a formal language and a any alphabet symbol. The set a.l s defned as the set of all words that are prefxed wth the symbol a followed by a word from L. For two languages L and L 2 we defne L. L 2 = {w w 2 w s L and w 2 s n L 2 } The concatenaton operator s assocatve but not commutatve. The operator can be used to generate all words of length n + from a known set words of length n. We defne (n+ =. n = {a w j where a s an element of and w j s an element of n } The above can be used to determne the total number of words (all possble bnary combnatons when = {, }. Recursvely, one can show n = n = 2 n ; the total number of possble bnary combnatons of length n bts. It can as well be used to construct a truth table recursvely. Gven the truth table for n varables, the truth table for n + varables can be constructed from the truth table for n varables usng the concatenaton operator (n+ =. n = {, }. n Ths leads to the tradtonal method of generatng the table, where the n+ column (startng at n = s composed of a sequence 2 n zeros followed wth a sequence of 2 n onesṫhe defnton can also be of help n dscussng the concepts of nstructon sets and fnte nature of the nstructon sets. 3 The Three Common Data Types n Dgtal Desgn In a typcal dgtal desgn and computer organzaton course, the concept of bnary arthmetc s consdered early n the course and s covered over unsgned numbers. Addtonal data types and arthmetc on the types s covered later n the course. From the defnton of an alphabet we can combne the dscusson of the three data types and cover successvely n the order of unsgned, sgned, and floatng pont. In the dscusson, we make use of the cardnalty of bnary words of length n as an ndependent parameter that lmts the range of numbers under any representaton (the number of words n any set of n-bt words s always 2 n. We revew the three representatons next. Unsgned bnary numbers: Gven the n-bt bnary (n-tuple word number x = x (n x n x, the mal value of x, unsgned (x, s n n unsgned ( x n n ( The above functon s used to generate the mnmum and maxmum bnary numbers, mnmum s a word wth n zeros; a maxmum s a word wth n ones. Snce the cardnalty of n s 2 n, we conclude the maxmum mal value of n consecutve ones s 2 n. The defnton also helps n the bnary countng process. When countng, the frst bt always alternates between zero and one. The second bt remans unchanged f the frst bt value s zero. It changes (get complemented only after the frst bt s one. Smlarly, the th bt reman unchanged untl all less sgnfcant bts assume a value of one. Ths helps n the desgn of bnary sequental counters later n the course. Sgned Numbers: Sgned numbers are represented usng one of the three conventons, sgned magntude, radx complement or dmnshed radx complement. When appled to bnary numbers, radx complement and dmnshed radx complement become, respectvely, two s (2 s and one s ( s complement. Today s computers represent sgned ntegers n two s complement form. Floatng-pont numbers are represented usng sgnedmagntude form. To form the 2 s complement of an n-bt number, x, we form the bnary subtracton 2 n x. Gven an n-bt number x, as defned above, the mal value of x, twos (x, can be found to be twos ( x ( x ( x n n n n n n ( x x unsgned n n3... x The above equaton and cardnalty of the alphabet can be used to determne: (a the range of postve; (b range of negatve; and (c the mnmum and maxmum n each range. (2
3 For the negatve part, the range of negatve, from smallest to largest s determned from unsgned part (least sgnfcant n bts. A mal value of the unsgned part of results n the smallest negatve value, 2 (n. When the mal part s all ones, ts mal value s 2 (n. Hence, the largest mal negatve value s correspondng to an n-bt word composed of a sequence of n ones. The range of non-negatve numbers n bnary and correspondng mal value s derved smlarly. The cardnalty of a set s used to determne the range of the numbers. Real numbers: Real numbers have two common representatons, fxed-pont and floatng-pont. Whle the set of real numbers s uncountable, the range over n-bt words n s fnte and countable. Real numbers may need to represent very large numbers or very small fractons. To ncrease the range of values, floatng-pont representaton s used. A real number, x, n fxed-pont representaton has a whole part, n bts, and fractonal part, m bts, x = x (n x n x. x x m. Smlarly x n floatng-pont notaton has an n-bt feld representng the exponent part and an m-b t feld representng the fractonal part. The mal value of the fxed-pont s determned usng the equaton n n fxedpo nt ( x n n n x m The range of fractonal part can be computed usng geometrc seres or by fracton ( x ( x m m Hence the range of the fractonal part s to 2 m (2 m. The above representaton and cardnalty of a set of words s dscussed here as well as when we look at the floatng-pont representaton range. (Over a 5-bt word, the total number of possble words s 32. If these represent numerc data then the maxmum number of data tems s 32. Hence, could be a code for: the mal value 2 (unsgned number, the mal value 2 (2 s complement, or 2/32 (fracton. The mal value of a number represented n floatng pont form depends on the standard used. We consder ths next and dscuss the commonalty between the dfferent representatons. 4 Floatng-Pont Numbers and Words Over the Bnary Alphabet (3 (4 When words represent floatng-pont numbers, the bts of a word are broken nto 3 felds: a sgn bt, a based exponent feld, and a fractonal feld. The standard floatngpont representaton used today s the IEEE 754 format developed around 985. It apples to 32-bt and 64-bt representatons. Earler computers dd not have a standard floatng-pont representaton. Floatng-pont numbers are used to represent very large numbers as well as very small fractons. We revew the representaton. Gven a number of y the form N x, the number can be represented n bnary usng IEEE bt standard. The representaton has 3 felds: a sgn bt, a fractonal part (sgnfcand, F, and a based exponent part, E. Based exponents representaton means the encodng ncludes a constant value added (bas to the actual exponent. For an n-bt exponent feld, the bas s followed by n one bts. For the 32-bt IEEE representaton (sngle precson the floatng-pont format s shown n Fgure. Bts: S E F S =, postve; S =, negatve Fgure As can seen from the fgure, there are three felds: a bt sgn feld, an 8-bt exponent feld and 23 bts fractonal feld. The sgn bt s or, representng postve and negatve numbers. The exponent value used s based exponent. Hence the added bas s = 2 (7 = 27. IEEE 754 has 3 nterpretatons (representatons of the 32-bt word, denormalzed, normalzed and specal cases. The nterpretatons are based on the bnary representaton of the based exponent.. If E ( 2 ( 6 then the representaton s denormalzed. 2. If E ( 2 and E ( 2 then the representaton s normalzed. 3. If E ( 2 then the representaton s specal cases representaton. We next look at the mal value equaton for each. Denormalzed word encodng: When E ( 2 the mal value of the encodng s gven by the equaton bas 26 2 (. (. F Normalzed word encodng: When E ( 2 and E ( 2 the mal value of the encodng s gven by the equaton E bas E 26 2 (. F (. F (6 Note the addton of before the radx pont n the fractonal part. There are two specal cases correspondng to an E feld composed of all bts. One case represents nfnte numbers. Ths occurs when feld F s all zeros. The other (5
4 case represents not a number (NaN. The NaN case occurs when E s composed of all one and the F feld contans at least one non-zero bt. The table n Fgure 2 gves an llustraton based on an example IEEE format but on a small word sze, E = 2, F = 2. The fgure ncludes nonnegatve numbers only. n n twos ( x ( xn n n n n3 ( xn n n3 n n3 ( xn xn n3 (( xn xn xn 3... x ( xn xn xn 3... x E F E E _adjust F F_adjust Type Decmal denormalzed /4 /4 denormalzed /4 2/4 2/4 denormalzed 2/4 3/4 3/4 denormalzed 3/4 bas 2 2 (. (., bas normalzed /4 5/4 normalzed 5/4 2/4 6/4 normalzed 6/4 3/4 7/4 normalzed 7/4 2 normalzed 2 2 /4 5/4 normalzed /4 2 2/4 6/4 normalzed 2/4 2 3/4 7/4 normalzed 4/4 E bas E 2 (. (. F, 5 Generatng a Common Converson Equaton bas x x x x Specal values Infnty x x x x Specal values NaN x x x x Specal values NaN x x x x Specal values NaN Infnty: E = and F = ; NaN: E = and F =,, or Fgure 2 Assume we are workng wth the set of data types over 32-bt words. Based on the dscusson of alphabet and languages over the alphabet, we develop a common approach to computng the mal value of a gven bnary encodng. In all the dscussons we note that due to the fnte cardnalty, then the uncountable set of real numbers encodng functon (for a gven real number x, f(x s the bnary encodng of x s such that f s not -to-. Hence, the nverse of f does not exst. We show that all the computatons can be wrtten n the form k2 ( (7 The proof s done by cases. Case of unsgned numbers. Let the word encodng be X = x (n x (n 2 x. By settng beta = X, k = and alpha =, the proof follows. Case of sgned ntegers n 2 s complement: Let the be X = x (n x (n 2 x. We know the mal value of X s gven by equaton (2 as The proof follows for k = and alpha =. Case of real numbers n fxed-pont notaton: Let x = x (n x n x. x x m. From equatons 3 and 4 we have n n fxedpo nt ( x x 2 2 x 2 m m n n... x x... x Note that n n... x x... x m represents an n + m unsgned bnary 2 nteger. The above equaton s satsfed for k, m. Case of real numbers n floatng-pont notaton, denormalzed form. For ths case, the encodng s broken nto two parts, the based exponent part and the fractonal part. Let E = E (m E (m 2 E and F = F (n F (n 2 F correspond to the exponent and fractonal parts, respectvely. The number X s represented as EF. Usng equaton (5 for the denormalzed part we have x bas (2 E ( bas F. F (2 2( F. (2 F The defnton s satsfed for F, k, ( F. Note that F s represented as an unsgned nteger. Case of real numbers n floatng-pont notaton, normalzed form: Ths represents the fnal case. From equaton 6 we have E bas X (. E bas ( bas F F E ( The equaton can be satsfed by assgnment k ( bas F, ( E, F
5 Before we leave the dscusson, we emphasze to the students that the under the same representaton, unlke mappng mal to bnary, each of the functons above forms a -to- correspondence;.e., two dfferent encodngs result n two dfferent mages (mal values. We also emphasze that dependng on the nature of encodng dfferent bnary codes may have the same mal value. For example the fxed-pont word. has a mal value Smlarly and the floatng-pont word ( E =3, F = 4 shas the mal value Ths can be verfed usng the equaton for the normalzed floatng-pont representaton. ( bas F E ( ( ( Concluson In ths paper we have ntroduced an alternatve approach to teachng data representatons n a dgtal desgn course. We have ncorporated the use formal languages. In addton we have ntroduced a new general converson equaton. By proper parameter substtuton, the equaton can be n conversons gven the common bnary number encodngs, unsgned ntegers, sgned ntegers, fxed-pont real numbers, and floatng-pont representatons. For the floatng-pont encodng, we have ncorporated the IEEE 754 standard. References [] Weste N. and Karman E. (993. Prncples of CMOS VLSI desgn A Systems Perspectve 2nd edton. Addson Wesley. [2] Martn J. (99. Introducton to Languages and the Theory of Computaton. McGraw Hll. [3] Barett W., Bates R., Gustafson D. Couch J. (979. Compler Constructon Theory and Practce, 2 nd edton. SRA publshng. [4] Nelson V., Nagle H., Carroll B., Irwn J. (995. Dgtal logc Crcut Analyss and Desgn. Prentce Hall. [5] Katz, R. and Gaetano B. (25. Contemporary Logc Desgn, 2 nd edton. Prentce Hall. [6] Mano M., Kme C. (23. Logc and Computer Desgn Fundamentals, 3 rd Edton. Prentce Hall. [7] Gajsk D. (997. Prncple of Dgtal Desgn, PrentceHall, 997 The converson of a base number to floatng follows the followng steps: (a fnd the bnary value of the number, (b wrte as 2 e x.f, (c add the based bnary exponent to e to form E, (d the floatng pont number s represented as EF, wth least sgnfcant bts of F flled wth and the sgn bt (MSB set to or
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 informationAssignment # 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 informationConditional Speculative Decimal Addition*
Condtonal Speculatve Decmal Addton Alvaro Vazquez and Elsardo Antelo Dep. of Electronc and Computer Engneerng Unv. of Santago de Compostela, Span Ths work was supported n part by Xunta de Galca under grant
More informationHarvard 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 informationAssembler. 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 informationAssembler. 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 informationComplex 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 informationCompiler 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 informationLOOP ANALYSIS. The second systematic technique to determine all currents and voltages in a circuit
LOOP ANALYSS The second systematic technique to determine all currents and voltages in a circuit T S DUAL TO NODE ANALYSS - T FRST DETERMNES ALL CURRENTS N A CRCUT AND THEN T USES OHM S LAW TO COMPUTE
More informationCHAPTER 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 informationA 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 informationLecture 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 informationHigh 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 informationModule 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 informationAlgorithm To Convert A Decimal To A Fraction
Algorthm To Convert A ecmal To A Fracton by John Kennedy Mathematcs epartment Santa Monca College 1900 Pco Blvd. Santa Monca, CA 90405 jrkennedy6@gmal.com Except for ths comment explanng that t s blank
More informationSupport 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 informationA NOTE ON FUZZY CLOSURE OF A FUZZY SET
(JPMNT) Journal of Process Management New Technologes, Internatonal A NOTE ON FUZZY CLOSURE OF A FUZZY SET Bhmraj Basumatary Department of Mathematcal Scences, Bodoland Unversty, Kokrajhar, Assam, Inda,
More informationFast exponentiation via prime finite field isomorphism
Alexander Rostovtsev, St Petersburg State Polytechnc Unversty rostovtsev@sslstunevaru Fast exponentaton va prme fnte feld somorphsm Rasng of the fxed element of prme order group to arbtrary degree s the
More informationRADIX-10 PARALLEL DECIMAL MULTIPLIER
RADIX-10 PARALLEL DECIMAL MULTIPLIER 1 MRUNALINI E. INGLE & 2 TEJASWINI PANSE 1&2 Electroncs Engneerng, Yeshwantrao Chavan College of Engneerng, Nagpur, Inda E-mal : mrunalngle@gmal.com, tejaswn.deshmukh@gmal.com
More informationF Geometric Mean Graphs
Avalable at http://pvamu.edu/aam Appl. Appl. Math. ISSN: 1932-9466 Vol. 10, Issue 2 (December 2015), pp. 937-952 Applcatons and Appled Mathematcs: An Internatonal Journal (AAM) F Geometrc Mean Graphs A.
More information2x 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 informationType-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 informationProgramming 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 informationVISUAL SELECTION OF SURFACE FEATURES DURING THEIR GEOMETRIC SIMULATION WITH THE HELP OF COMPUTER TECHNOLOGIES
UbCC 2011, Volume 6, 5002981-x manuscrpts OPEN ACCES UbCC Journal ISSN 1992-8424 www.ubcc.org VISUAL SELECTION OF SURFACE FEATURES DURING THEIR GEOMETRIC SIMULATION WITH THE HELP OF COMPUTER TECHNOLOGIES
More informationR 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 informationCourse 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 informationAccounting 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 informationThe 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 informationCMPS 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 informationLoop 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 informationParallelism 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 informationThe 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 informationSolving 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 informationLecture 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 informationSome 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 informationAn 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 informationCordial and 3-Equitable Labeling for Some Star Related Graphs
Internatonal Mathematcal Forum, 4, 009, no. 31, 1543-1553 Cordal and 3-Equtable Labelng for Some Star Related Graphs S. K. Vadya Department of Mathematcs, Saurashtra Unversty Rajkot - 360005, Gujarat,
More informationNews. 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 informationOutline. Digital Systems. C.2: Gates, Truth Tables and Logic Equations. Truth Tables. Logic Gates 9/8/2011
9/8/2 2 Outlne Appendx C: The Bascs of Logc Desgn TDT4255 Computer Desgn Case Study: TDT4255 Communcaton Module Lecture 2 Magnus Jahre 3 4 Dgtal Systems C.2: Gates, Truth Tables and Logc Equatons All sgnals
More informationOn 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 informationsuch that is accepted of states in , where Finite Automata Lecture 2-1: Regular Languages be an FA. A string is the transition function,
* Lecture - Regular Languages S Lecture - Fnte Automata where A fnte automaton s a -tuple s a fnte set called the states s a fnte set called the alphabet s the transton functon s the ntal state s the set
More information6.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 informationMath Homotopy Theory Additional notes
Math 527 - Homotopy Theory Addtonal notes Martn Frankland February 4, 2013 The category Top s not Cartesan closed. problem. In these notes, we explan how to remedy that 1 Compactly generated spaces Ths
More informationArray 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 informationA 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 informationMachine Learning: Algorithms and Applications
14/05/1 Machne Learnng: Algorthms and Applcatons Florano Zn Free Unversty of Bozen-Bolzano Faculty of Computer Scence Academc Year 011-01 Lecture 10: 14 May 01 Unsupervsed Learnng cont Sldes courtesy of
More informationNUMERICAL 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 informationCluster 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 informationConstructing Minimum Connected Dominating Set: Algorithmic approach
Constructng Mnmum Connected Domnatng Set: Algorthmc approach G.N. Puroht and Usha Sharma Centre for Mathematcal Scences, Banasthal Unversty, Rajasthan 304022 usha.sharma94@yahoo.com Abstract: Connected
More informationSum of Linear and Fractional Multiobjective Programming Problem under Fuzzy Rules Constraints
Australan Journal of Basc and Appled Scences, 2(4): 1204-1208, 2008 ISSN 1991-8178 Sum of Lnear and Fractonal Multobjectve Programmng Problem under Fuzzy Rules Constrants 1 2 Sanjay Jan and Kalash Lachhwan
More informationUB at GeoCLEF Department of Geography Abstract
UB at GeoCLEF 2006 Mguel E. Ruz (1), Stuart Shapro (2), June Abbas (1), Slva B. Southwck (1) and Davd Mark (3) State Unversty of New York at Buffalo (1) Department of Lbrary and Informaton Studes (2) Department
More informationTsinghua University at TAC 2009: Summarizing Multi-documents by Information Distance
Tsnghua Unversty at TAC 2009: Summarzng Mult-documents by Informaton Dstance Chong Long, Mnle Huang, Xaoyan Zhu State Key Laboratory of Intellgent Technology and Systems, Tsnghua Natonal Laboratory for
More informationIntra-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 informationHermite 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 informationLecture 5: Probability Distributions. Random Variables
Lecture 5: Probablty Dstrbutons Random Varables Probablty Dstrbutons Dscrete Random Varables Contnuous Random Varables and ther Dstrbutons Dscrete Jont Dstrbutons Contnuous Jont Dstrbutons Independent
More informationExplicit Formulas and Efficient Algorithm for Moment Computation of Coupled RC Trees with Lumped and Distributed Elements
Explct Formulas and Effcent Algorthm for Moment Computaton of Coupled RC Trees wth Lumped and Dstrbuted Elements Qngan Yu and Ernest S.Kuh Electroncs Research Lab. Unv. of Calforna at Berkeley Berkeley
More informationMotivation. EE 457 Unit 4. Throughput vs. Latency. Performance Depends on View Point?! Computer System Performance. An individual user wants to:
4.1 4.2 Motvaton EE 457 Unt 4 Computer System Performance An ndvdual user wants to: Mnmze sngle program executon tme A datacenter owner wants to: Maxmze number of Mnmze ( ) http://e-tellgentnternetmarketng.com/webste/frustrated-computer-user-2/
More informationS1 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 informationRandom Kernel Perceptron on ATTiny2313 Microcontroller
Random Kernel Perceptron on ATTny233 Mcrocontroller Nemanja Djurc Department of Computer and Informaton Scences, Temple Unversty Phladelpha, PA 922, USA nemanja.djurc@temple.edu Slobodan Vucetc Department
More informationX- 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 informationParallel Solutions of Indexed Recurrence Equations
Parallel Solutons of Indexed Recurrence Equatons Yos Ben-Asher Dep of Math and CS Hafa Unversty 905 Hafa, Israel yos@mathcshafaacl Gad Haber IBM Scence and Technology 905 Hafa, Israel haber@hafascvnetbmcom
More informationMATHEMATICS FORM ONE SCHEME OF WORK 2004
MATHEMATICS FORM ONE SCHEME OF WORK 2004 WEEK TOPICS/SUBTOPICS LEARNING OBJECTIVES LEARNING OUTCOMES VALUES CREATIVE & CRITICAL THINKING 1 WHOLE NUMBER Students wll be able to: GENERICS 1 1.1 Concept of
More informationA 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 informationThe Research of Support Vector Machine in Agricultural Data Classification
The Research of Support Vector Machne n Agrcultural Data Classfcaton Le Sh, Qguo Duan, Xnmng Ma, Me Weng College of Informaton and Management Scence, HeNan Agrcultural Unversty, Zhengzhou 45000 Chna Zhengzhou
More informationOptimization Methods: Integer Programming Integer Linear Programming 1. Module 7 Lecture Notes 1. Integer Linear Programming
Optzaton Methods: Integer Prograng Integer Lnear Prograng Module Lecture Notes Integer Lnear Prograng Introducton In all the prevous lectures n lnear prograng dscussed so far, the desgn varables consdered
More informationAn 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 informationPerformance 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 informationFloating-Point Division Algorithms for an x86 Microprocessor with a Rectangular Multiplier
Floatng-Pont Dvson Algorthms for an x86 Mcroprocessor wth a Rectangular Multpler Mchael J. Schulte Dmtr Tan Carl E. Lemonds Unversty of Wsconsn Advanced Mcro Devces Advanced Mcro Devces Schulte@engr.wsc.edu
More informationNon-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 informationA 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.r = 10 (DECIMAL number system) digits are (0,1,2,3,4,5,6,7,8,9) (34.25ho=3x x 100.2x x 10-2
~ RADX r NUMBER SYSTEM A number in radix r number system is represented in terms of POSTONAL WEGHTNG (N)r dk rk n m RADX PONT = dn-l rn-l + dn-2 rn-2+...+ dl rl + doro. d_1 r-l+...+ d_m r-m NTEGRAL PART
More informationGSLM 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 informationAnalysis of Non-coherent Fault Trees Using Ternary Decision Diagrams
Analyss of Non-coherent Fault Trees Usng Ternary Decson Dagrams Rasa Remenyte-Prescott Dep. of Aeronautcal and Automotve Engneerng Loughborough Unversty, Loughborough, LE11 3TU, England R.Remenyte-Prescott@lboro.ac.uk
More informationToday 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 informationGreedy Technique - Definition
Greedy Technque Greedy Technque - Defnton The greedy method s a general algorthm desgn paradgm, bult on the follong elements: confguratons: dfferent choces, collectons, or values to fnd objectve functon:
More informationCell Count Method on a Network with SANET
CSIS Dscusson Paper No.59 Cell Count Method on a Network wth SANET Atsuyuk Okabe* and Shno Shode** Center for Spatal Informaton Scence, Unversty of Tokyo 7-3-1, Hongo, Bunkyo-ku, Tokyo 113-8656, Japan
More informationINTEGER PROGRAMMING MODELING FOR THE CHINESE POSTMAN PROBLEMS
INTEGER PROGRAMMING MODELING FOR THE CHINESE POSTMAN PROBLEMS ABSTRACT Feng Junwen School of Economcs and Management, Nanng Unversty of Scence and Technology, Nanng, 2009, Chna As far as the tradtonal
More informationSummarizing Data using Bottom-k Sketches
Summarzng Data usng Bottom-k Sketches Edth Cohen AT&T Labs Research 8 Park Avenue Florham Park, NJ 7932, USA edth@research.att.com Ham Kaplan School of Computer Scence Tel Avv Unversty Tel Avv, Israel
More informationReading. 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 informationMathematics 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 informationON 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 informationb * -Open Sets in Bispaces
Internatonal Journal of Mathematcs and Statstcs Inventon (IJMSI) E-ISSN: 2321 4767 P-ISSN: 2321-4759 wwwjmsorg Volume 4 Issue 6 August 2016 PP- 39-43 b * -Open Sets n Bspaces Amar Kumar Banerjee 1 and
More informationWishing 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 informationA 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 informationAP PHYSICS B 2008 SCORING GUIDELINES
AP PHYSICS B 2008 SCORING GUIDELINES General Notes About 2008 AP Physcs Scorng Gudelnes 1. The solutons contan the most common method of solvng the free-response questons and the allocaton of ponts for
More informationBrave 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 informationA 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 informationAnalysis 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 informationPose, Posture, Formation and Contortion in Kinematic Systems
Pose, Posture, Formaton and Contorton n Knematc Systems J. Rooney and T. K. Tanev Department of Desgn and Innovaton, Faculty of Technology, The Open Unversty, Unted Kngdom Abstract. The concepts of pose,
More informationHigh-Boost Mesh Filtering for 3-D Shape Enhancement
Hgh-Boost Mesh Flterng for 3-D Shape Enhancement Hrokazu Yagou Λ Alexander Belyaev y Damng We z Λ y z ; ; Shape Modelng Laboratory, Unversty of Azu, Azu-Wakamatsu 965-8580 Japan y Computer Graphcs Group,
More informationTN348: 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 informationParallel 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 informationAn Application of Network Simplex Method for Minimum Cost Flow Problems
BALKANJM 0 (0) -0 Contents lsts avalable at BALKANJM BALKAN JOURNAL OF MATHEMATICS journal homepage: www.balkanjm.com An Applcaton of Network Smplex Method for Mnmum Cost Flow Problems Ergun EROGLU *a
More informationUNIT 2 : INEQUALITIES AND CONVEX SETS
UNT 2 : NEQUALTES AND CONVEX SETS ' Structure 2. ntroducton Objectves, nequaltes and ther Graphs Convex Sets and ther Geometry Noton of Convex Sets Extreme Ponts of Convex Set Hyper Planes and Half Spaces
More informationAn 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 informationSequential 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 informationFast Color Space Transformation for Embedded Controller by SA-C Recofigurable Computing
Internatonal Journal of Informaton and Electroncs Engneerng, Vol., No., July Fast Color Space Transformaton for Embedded Controller by SA-C Recofgurable Computng Jan-Long Kuo Abstract Ths paper proposes
More informationALEKSANDROV URYSOHN COMPACTNESS CRITERION ON INTUITIONISTIC FUZZY S * STRUCTURE SPACE
mercan Journal of Mathematcs and cences Vol. 5, No., (January-December, 206) Copyrght Mnd Reader Publcatons IN No: 2250-302 www.journalshub.com LEKNDROV URYOHN COMPCTNE CRITERION ON INTUITIONITIC FUZZY
More informationLearning 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 informationImproved Symoblic Simulation By Dynamic Funtional Space Partitioning
Improved Symoblc Smulaton By Dynamc Funtonal Space Parttonng Tao Feng, L-.Wang, Kwang-Tng heng Department of EE, U-Santa Barbara, U.S.A tfeng,lcwang, tmcheng @ece.ucsb.edu Andy -. Ln adence Desgn Systems,
More information