Weight (strings)

Weight (strings)

The a-weight of a string, for a a letter, is the number of times that letter occurs in the string. More precisely, let A be a finite set (called the "alphabet"), ain A a "letter" of A, and cin A^* a"string" (where A^* is the free monoid generated by the elements of A, equivalently the set of strings, including the empty string, whose letters are from A). Then the a-"weight" of c, denoted by mathrm{wt}_a(c), is the number of times the generator a occurs in the unique expression for c as a product (concatenation) of letters in A.

If A is an abelian group, the Hamming weight mathrm{wt}(c) of c,often simply referred to as "weight", is the number of nonzero letters in c.

Examples

* Let A={x,y,z}. In the string c=yxxzyyzxyzzyx, y occurs 5times, so the y-weight of c is mathrm{wt}_y(c)=5.
* Let A=mathbf{Z}_3={0,1,2} (an abelian group) and c=002001200. Then mathrm{wt}_0(c)=6, mathrm{wt}_1(c)=1, mathrm{wt}_2(c)=2 and mathrm{wt}(c)=mathrm{wt}_1(c)+mathrm{wt}_2(c)=3.

----


Wikimedia Foundation. 2010.

Игры ⚽ Нужен реферат?

Look at other dictionaries:

  • Weight (disambiguation) — Weight is a measurement of the gravitational force acting on an object, or of an object s mass.Weight may also refer to:* Weight (representation theory), a type of function. * Weight (strings), the number of times a letter occurs in a string. *… …   Wikipedia

  • Strings (tennis) — In tennis, the strings are the part of a tennis racquet which make contact with the ball. The strings form a woven network inside the head (or hoop ) of the racquet. Composition The material used in tennis string can significantly change the… …   Wikipedia

  • Strings (music) — A string is the vibrating element that is the source of vibration in string instruments, such as the guitar, harp, piano, and members of the violin family. They are lengths of a flexible material kept under tension so that they may freely vibrate …   Wikipedia

  • weight — I n 1. heaviness, heft, heftiness, weightiness, ponderousness, ponderosity, gravity; pounds, tonnage, pressure; mass, density, volume, size; bulk, bulkiness, largeness, bigness, amplitude. 2. load, burden, onus, cross, millstone, albatross; duty …   A Note on the Style of the synonym finder

  • Ultra-high-molecular-weight polyethylene — (UHMWPE or sometimes shortened to UHMW), also known as high modulus polyethylene (HMPE) or high performance polyethylene (HPPE), is a subset of the thermoplastic polyethylene. It has extremely long chains, with molecular weight numbering in the… …   Wikipedia

  • Ultra high molecular weight polyethylene — (UHMWPE), also known as high modulus polyethylene (HMPE) or high performance polyethylene (HPPE), is a subset of the thermoplastic polyethylene. It has extremely long chains, with molecular weight numbering in the millions, usually between 2 and… …   Wikipedia

  • List of mathematics articles (W) — NOTOC Wad Wadge hierarchy Wagstaff prime Wald test Wald Wolfowitz runs test Wald s equation Waldhausen category Wall Sun Sun prime Wallenius noncentral hypergeometric distribution Wallis product Wallman compactification Wallpaper group Walrasian… …   Wikipedia

  • Chinese coins — Ancient Chinese coins were produced continuously for around 2,500 years by casting in moulds, rather than being struck with dies as with most western coins.Collectors can obtain affordable yet old, beautiful, and interesting coins associated with …   Wikipedia

  • Ancient Chinese coinage — Ancient Chinese coins Chinese coins were produced continuously for around 2,500 years by casting in moulds, rather than being struck with dies as with most western coins. Contents 1 …   Wikipedia

  • Racquet — A racquet (or racket) is a sports implement consisting of a handled frame with an open hoop across which a network of cord is stretched tightly. It is used for striking a ball in such games as squash, tennis, racquetball, and badminton.… …   Wikipedia

Share the article and excerpts

Direct link
Do a right-click on the link above
and select “Copy Link”