weight (strings)
Let be an alphabet, a letter from and a string over . Then the -weight of , denoted by , is the number of times occurs in .
If is an abelian group, the Hamming weight of (no ), often simply referred to as “weight”, is the number of nonzero letters in .
Examples
-
•
Let . In the string , occurs times, so the -weight .
-
•
Let (an abelian group) and . Then , , and .
Title | weight (strings) |
---|---|
Canonical name | Weightstrings |
Date of creation | 2013-03-22 15:13:17 |
Last modified on | 2013-03-22 15:13:17 |
Owner | GrafZahl (9234) |
Last modified by | GrafZahl (9234) |
Numerical id | 6 |
Author | GrafZahl (9234) |
Entry type | Definition |
Classification | msc 94A55 |
Synonym | weight |
Related topic | KleeneStar |
Defines | Hamming weight |