|
|
(One intermediate revision by one other user not shown) |
Line 1: |
Line 1: |
| In [[mathematics]], '''concatenation''' is the joining of two numbers by their numerals. That is, the concatenation of 123 and 456 is 123456. Concatenation of numbers ''a'' and ''b'' is denoted ''a||b''. Relevant subjects in [[recreational mathematics]] include [[Smarandache-Wellin number]]s, [[home prime]]s, and [[Champernowne's constant]]. The [[convention (norm)|convention]] for [[sequence]]s at places such as the [[Online Encyclopedia of Integer Sequences]] is to have sequences of concatenations include as the first term a number prior to the actual act of concatenation. Therefore, care must be taken to ensure that parties discussing a topic agree either with this convention or with plain language. For example, the first term in the sequence of concatenations of increasing even numbers may be taken to be either 24, as would seem obviously correct, or simply 2, according to convention.
| | Hi there. Let me begin by introducing the author, her name is Sophia Boon but she never truly liked that name. Credit authorising is how she makes a living. I've usually cherished living in Kentucky but now I'm considering other choices. To play lacross is the thing I adore most of all.<br><br>Also visit my web site; accurate [http://chungmuroresidence.com/xe/reservation_branch2/152663 psychic phone readings] psychics online ([http://black7.mireene.com/aqw/5741 black7.mireene.com]) readings ([http://myoceancounty.net/groups/apply-these-guidelines-when-gardening-and-grow/ Click At this website]) |
| | |
| ==Calculation==
| |
| The concatenation of numbers depends on the numeric [[radix|base]], which is often understood from context.
| |
| | |
| Given the numbers ''p'' and ''q'' in base ''b'', the concatenation ''p||q'' is given by
| |
| | |
| :<math>p||q=p b^{l(q)}+q</math>
| |
| | |
| where
| |
| | |
| :<math>l(q)=\lfloor log_b(q) \rfloor+1</math> | |
| | |
| is the number of digits of ''q'' in base ''b'', and <math>\lfloor x \rfloor</math> is the [[floor and ceiling functions|floor function]].
| |
| | |
| ==Vector extension==
| |
| {{Unreferenced|date=June 2010}}The concatenation of [[coordinate vector|vectors]] can be understood in two distinct ways; either as a generalization of the above operation for numbers or as a concatenation of lists.
| |
| | |
| Given two vectors in <math>\mathbb{R}^n</math>, concatenation can be defined as
| |
| | |
| :<math>\left( \begin{array}{c} a_1 \\ a_2 \\ \vdots \\ a_n \end{array} \right) || \left( \begin{array}{c} b_1 \\ b_2 \\ \vdots \\ b_n \end{array} \right) = \left( \begin{array}{c} a_1 || b_1 \\ a_2 || b_2 \\ \vdots \\ a_n || b_n \end{array} \right)</math>
| |
| | |
| In the case of vectors in <math>\mathbb{R}^1</math>, this is equivalent to the above definition for numbers. The further extension to [[matrix (mathematics)|matrices]] is trivial.
| |
| | |
| Since vectors can be viewed in a certain way as [[sequence (mathematics)|lists]], concatenation may take on another meaning. In this case the concatenation of two lists (''a''<sub>1</sub>, ''a''<sub>2</sub>, ..., ''a''<sub>''n''</sub>) and (''b''<sub>1</sub>, ''b''<sub>2</sub>, ..., ''b''<sub>''n''</sub>) is the list (''a''<sub>1</sub>, ''a''<sub>2</sub>, ..., ''a''<sub>''n''</sub>, ''b''<sub>1</sub>, ''b''<sub>2</sub>, ..., ''b''<sub>''n''</sub>). Only the exact context will reveal which meaning is intended.
| |
| | |
| ==See also==
| |
| * [[Concatenation]]
| |
| * [[Concatenated code]]
| |
| | |
| ==References==
| |
| {{cite web | title=MathWorld: Concatenation| url=http://mathworld.wolfram.com/Concatenation.html}}
| |
| | |
| [[Category:Vector calculus]]
| |
| [[Category:Abstract algebra]]
| |
| [[Category:Binary operations]]
| |
Hi there. Let me begin by introducing the author, her name is Sophia Boon but she never truly liked that name. Credit authorising is how she makes a living. I've usually cherished living in Kentucky but now I'm considering other choices. To play lacross is the thing I adore most of all.
Also visit my web site; accurate psychic phone readings psychics online (black7.mireene.com) readings (Click At this website)