Matrix rows notation
$begingroup$
I'm working with a set of $M$ vectors $ {mathbf{w}_i in mathbb{R}^N, , i = 1, ldots, M }$. Since single vectors are usually considered as column vectors, I'm defining a matrix
$$
mathbf{W} = [mathbf{w}_1, ldots, mathbf{w}_M] in mathbb{R}^{N times M}
$$
by placing the vectors as matrix columns.
However, for some descriptions, I need to refer to the matrix rows.
Is there an elegant notation to refer to this matrix rows (preferably with less notation overhead)?
matrices notation
$endgroup$
add a comment |
$begingroup$
I'm working with a set of $M$ vectors $ {mathbf{w}_i in mathbb{R}^N, , i = 1, ldots, M }$. Since single vectors are usually considered as column vectors, I'm defining a matrix
$$
mathbf{W} = [mathbf{w}_1, ldots, mathbf{w}_M] in mathbb{R}^{N times M}
$$
by placing the vectors as matrix columns.
However, for some descriptions, I need to refer to the matrix rows.
Is there an elegant notation to refer to this matrix rows (preferably with less notation overhead)?
matrices notation
$endgroup$
$begingroup$
What about $mathbf{W}_{ibullet}$ for the $i$th row?
$endgroup$
– Raskolnikov
May 7 '13 at 6:23
1
$begingroup$
Since I'm writing vectors in lower case I would write matrix rows as $mathbf{w}_{j*}$ for $j = 1, ldots, N$. However, I'm not sure if this dot or star symbol is a valid math notation.
$endgroup$
– Robinaut
May 7 '13 at 7:06
1
$begingroup$
It's very common. But even if it wasn't, you can always invent your own notation, as long as you define it so that readers know.
$endgroup$
– Raskolnikov
May 7 '13 at 7:15
add a comment |
$begingroup$
I'm working with a set of $M$ vectors $ {mathbf{w}_i in mathbb{R}^N, , i = 1, ldots, M }$. Since single vectors are usually considered as column vectors, I'm defining a matrix
$$
mathbf{W} = [mathbf{w}_1, ldots, mathbf{w}_M] in mathbb{R}^{N times M}
$$
by placing the vectors as matrix columns.
However, for some descriptions, I need to refer to the matrix rows.
Is there an elegant notation to refer to this matrix rows (preferably with less notation overhead)?
matrices notation
$endgroup$
I'm working with a set of $M$ vectors $ {mathbf{w}_i in mathbb{R}^N, , i = 1, ldots, M }$. Since single vectors are usually considered as column vectors, I'm defining a matrix
$$
mathbf{W} = [mathbf{w}_1, ldots, mathbf{w}_M] in mathbb{R}^{N times M}
$$
by placing the vectors as matrix columns.
However, for some descriptions, I need to refer to the matrix rows.
Is there an elegant notation to refer to this matrix rows (preferably with less notation overhead)?
matrices notation
matrices notation
asked May 7 '13 at 6:20
RobinautRobinaut
17016
17016
$begingroup$
What about $mathbf{W}_{ibullet}$ for the $i$th row?
$endgroup$
– Raskolnikov
May 7 '13 at 6:23
1
$begingroup$
Since I'm writing vectors in lower case I would write matrix rows as $mathbf{w}_{j*}$ for $j = 1, ldots, N$. However, I'm not sure if this dot or star symbol is a valid math notation.
$endgroup$
– Robinaut
May 7 '13 at 7:06
1
$begingroup$
It's very common. But even if it wasn't, you can always invent your own notation, as long as you define it so that readers know.
$endgroup$
– Raskolnikov
May 7 '13 at 7:15
add a comment |
$begingroup$
What about $mathbf{W}_{ibullet}$ for the $i$th row?
$endgroup$
– Raskolnikov
May 7 '13 at 6:23
1
$begingroup$
Since I'm writing vectors in lower case I would write matrix rows as $mathbf{w}_{j*}$ for $j = 1, ldots, N$. However, I'm not sure if this dot or star symbol is a valid math notation.
$endgroup$
– Robinaut
May 7 '13 at 7:06
1
$begingroup$
It's very common. But even if it wasn't, you can always invent your own notation, as long as you define it so that readers know.
$endgroup$
– Raskolnikov
May 7 '13 at 7:15
$begingroup$
What about $mathbf{W}_{ibullet}$ for the $i$th row?
$endgroup$
– Raskolnikov
May 7 '13 at 6:23
$begingroup$
What about $mathbf{W}_{ibullet}$ for the $i$th row?
$endgroup$
– Raskolnikov
May 7 '13 at 6:23
1
1
$begingroup$
Since I'm writing vectors in lower case I would write matrix rows as $mathbf{w}_{j*}$ for $j = 1, ldots, N$. However, I'm not sure if this dot or star symbol is a valid math notation.
$endgroup$
– Robinaut
May 7 '13 at 7:06
$begingroup$
Since I'm writing vectors in lower case I would write matrix rows as $mathbf{w}_{j*}$ for $j = 1, ldots, N$. However, I'm not sure if this dot or star symbol is a valid math notation.
$endgroup$
– Robinaut
May 7 '13 at 7:06
1
1
$begingroup$
It's very common. But even if it wasn't, you can always invent your own notation, as long as you define it so that readers know.
$endgroup$
– Raskolnikov
May 7 '13 at 7:15
$begingroup$
It's very common. But even if it wasn't, you can always invent your own notation, as long as you define it so that readers know.
$endgroup$
– Raskolnikov
May 7 '13 at 7:15
add a comment |
3 Answers
3
active
oldest
votes
$begingroup$
You can represent the rows of $mathbf W$ by the $M$-(column-)vectors $mathbf w'_i :=mathrm{col}_imathbf W^mathsf T;(i=1,dots,N).$ There is no standard notation for this; I chose the prime notation for convenience. You would also need to state your chosen notation explicitly.
$endgroup$
add a comment |
$begingroup$
Since $W_{nm}$ is unambiguous for the $n$th row, $m$th col entry of $W$, I quite like the following notation:
begin{align}
text{For rows:}& quad W_{n*} = W_{n,*} \
text{For cols:}& quad W_{*m} = W_{*,m} \
end{align}
From a programming perspective, this is similar to how in R we use W[n,]
and W[,m]
and in Numpy we use W[n,:]
and W[m,:]
.
$endgroup$
add a comment |
$begingroup$
If you write
$$mathbf{W} = [mathbf{w}_1, ldots, mathbf{w}_M]^t in mathbb{R}^{M times N}$$
then the rows of $mathbf W$ are $mathbf{w}_1^t, ldots, mathbf{w}_M^t$.
$endgroup$
2
$begingroup$
Well, yes, but that's not how $mathbf{W}$ was written (nor is it even necessarily of the correct dimension), so how does this help?
$endgroup$
– Cameron Buie
May 7 '13 at 6:41
$begingroup$
It's additional notation. Just use a different letter and set it equal to the original. Not that hard.
$endgroup$
– Jim
May 7 '13 at 15:49
add a comment |
Your Answer
StackExchange.ifUsing("editor", function () {
return StackExchange.using("mathjaxEditing", function () {
StackExchange.MarkdownEditor.creationCallbacks.add(function (editor, postfix) {
StackExchange.mathjaxEditing.prepareWmdForMathJax(editor, postfix, [["$", "$"], ["\\(","\\)"]]);
});
});
}, "mathjax-editing");
StackExchange.ready(function() {
var channelOptions = {
tags: "".split(" "),
id: "69"
};
initTagRenderer("".split(" "), "".split(" "), channelOptions);
StackExchange.using("externalEditor", function() {
// Have to fire editor after snippets, if snippets enabled
if (StackExchange.settings.snippets.snippetsEnabled) {
StackExchange.using("snippets", function() {
createEditor();
});
}
else {
createEditor();
}
});
function createEditor() {
StackExchange.prepareEditor({
heartbeatType: 'answer',
autoActivateHeartbeat: false,
convertImagesToLinks: true,
noModals: true,
showLowRepImageUploadWarning: true,
reputationToPostImages: 10,
bindNavPrevention: true,
postfix: "",
imageUploader: {
brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
allowUrls: true
},
noCode: true, onDemand: true,
discardSelector: ".discard-answer"
,immediatelyShowMarkdownHelp:true
});
}
});
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fmath.stackexchange.com%2fquestions%2f384153%2fmatrix-rows-notation%23new-answer', 'question_page');
}
);
Post as a guest
Required, but never shown
3 Answers
3
active
oldest
votes
3 Answers
3
active
oldest
votes
active
oldest
votes
active
oldest
votes
$begingroup$
You can represent the rows of $mathbf W$ by the $M$-(column-)vectors $mathbf w'_i :=mathrm{col}_imathbf W^mathsf T;(i=1,dots,N).$ There is no standard notation for this; I chose the prime notation for convenience. You would also need to state your chosen notation explicitly.
$endgroup$
add a comment |
$begingroup$
You can represent the rows of $mathbf W$ by the $M$-(column-)vectors $mathbf w'_i :=mathrm{col}_imathbf W^mathsf T;(i=1,dots,N).$ There is no standard notation for this; I chose the prime notation for convenience. You would also need to state your chosen notation explicitly.
$endgroup$
add a comment |
$begingroup$
You can represent the rows of $mathbf W$ by the $M$-(column-)vectors $mathbf w'_i :=mathrm{col}_imathbf W^mathsf T;(i=1,dots,N).$ There is no standard notation for this; I chose the prime notation for convenience. You would also need to state your chosen notation explicitly.
$endgroup$
You can represent the rows of $mathbf W$ by the $M$-(column-)vectors $mathbf w'_i :=mathrm{col}_imathbf W^mathsf T;(i=1,dots,N).$ There is no standard notation for this; I chose the prime notation for convenience. You would also need to state your chosen notation explicitly.
answered May 7 '13 at 8:24
John BentinJohn Bentin
11.3k22554
11.3k22554
add a comment |
add a comment |
$begingroup$
Since $W_{nm}$ is unambiguous for the $n$th row, $m$th col entry of $W$, I quite like the following notation:
begin{align}
text{For rows:}& quad W_{n*} = W_{n,*} \
text{For cols:}& quad W_{*m} = W_{*,m} \
end{align}
From a programming perspective, this is similar to how in R we use W[n,]
and W[,m]
and in Numpy we use W[n,:]
and W[m,:]
.
$endgroup$
add a comment |
$begingroup$
Since $W_{nm}$ is unambiguous for the $n$th row, $m$th col entry of $W$, I quite like the following notation:
begin{align}
text{For rows:}& quad W_{n*} = W_{n,*} \
text{For cols:}& quad W_{*m} = W_{*,m} \
end{align}
From a programming perspective, this is similar to how in R we use W[n,]
and W[,m]
and in Numpy we use W[n,:]
and W[m,:]
.
$endgroup$
add a comment |
$begingroup$
Since $W_{nm}$ is unambiguous for the $n$th row, $m$th col entry of $W$, I quite like the following notation:
begin{align}
text{For rows:}& quad W_{n*} = W_{n,*} \
text{For cols:}& quad W_{*m} = W_{*,m} \
end{align}
From a programming perspective, this is similar to how in R we use W[n,]
and W[,m]
and in Numpy we use W[n,:]
and W[m,:]
.
$endgroup$
Since $W_{nm}$ is unambiguous for the $n$th row, $m$th col entry of $W$, I quite like the following notation:
begin{align}
text{For rows:}& quad W_{n*} = W_{n,*} \
text{For cols:}& quad W_{*m} = W_{*,m} \
end{align}
From a programming perspective, this is similar to how in R we use W[n,]
and W[,m]
and in Numpy we use W[n,:]
and W[m,:]
.
answered Apr 17 '18 at 18:12
qwrqwr
6,68342755
6,68342755
add a comment |
add a comment |
$begingroup$
If you write
$$mathbf{W} = [mathbf{w}_1, ldots, mathbf{w}_M]^t in mathbb{R}^{M times N}$$
then the rows of $mathbf W$ are $mathbf{w}_1^t, ldots, mathbf{w}_M^t$.
$endgroup$
2
$begingroup$
Well, yes, but that's not how $mathbf{W}$ was written (nor is it even necessarily of the correct dimension), so how does this help?
$endgroup$
– Cameron Buie
May 7 '13 at 6:41
$begingroup$
It's additional notation. Just use a different letter and set it equal to the original. Not that hard.
$endgroup$
– Jim
May 7 '13 at 15:49
add a comment |
$begingroup$
If you write
$$mathbf{W} = [mathbf{w}_1, ldots, mathbf{w}_M]^t in mathbb{R}^{M times N}$$
then the rows of $mathbf W$ are $mathbf{w}_1^t, ldots, mathbf{w}_M^t$.
$endgroup$
2
$begingroup$
Well, yes, but that's not how $mathbf{W}$ was written (nor is it even necessarily of the correct dimension), so how does this help?
$endgroup$
– Cameron Buie
May 7 '13 at 6:41
$begingroup$
It's additional notation. Just use a different letter and set it equal to the original. Not that hard.
$endgroup$
– Jim
May 7 '13 at 15:49
add a comment |
$begingroup$
If you write
$$mathbf{W} = [mathbf{w}_1, ldots, mathbf{w}_M]^t in mathbb{R}^{M times N}$$
then the rows of $mathbf W$ are $mathbf{w}_1^t, ldots, mathbf{w}_M^t$.
$endgroup$
If you write
$$mathbf{W} = [mathbf{w}_1, ldots, mathbf{w}_M]^t in mathbb{R}^{M times N}$$
then the rows of $mathbf W$ are $mathbf{w}_1^t, ldots, mathbf{w}_M^t$.
answered May 7 '13 at 6:31
JimJim
24.4k23370
24.4k23370
2
$begingroup$
Well, yes, but that's not how $mathbf{W}$ was written (nor is it even necessarily of the correct dimension), so how does this help?
$endgroup$
– Cameron Buie
May 7 '13 at 6:41
$begingroup$
It's additional notation. Just use a different letter and set it equal to the original. Not that hard.
$endgroup$
– Jim
May 7 '13 at 15:49
add a comment |
2
$begingroup$
Well, yes, but that's not how $mathbf{W}$ was written (nor is it even necessarily of the correct dimension), so how does this help?
$endgroup$
– Cameron Buie
May 7 '13 at 6:41
$begingroup$
It's additional notation. Just use a different letter and set it equal to the original. Not that hard.
$endgroup$
– Jim
May 7 '13 at 15:49
2
2
$begingroup$
Well, yes, but that's not how $mathbf{W}$ was written (nor is it even necessarily of the correct dimension), so how does this help?
$endgroup$
– Cameron Buie
May 7 '13 at 6:41
$begingroup$
Well, yes, but that's not how $mathbf{W}$ was written (nor is it even necessarily of the correct dimension), so how does this help?
$endgroup$
– Cameron Buie
May 7 '13 at 6:41
$begingroup$
It's additional notation. Just use a different letter and set it equal to the original. Not that hard.
$endgroup$
– Jim
May 7 '13 at 15:49
$begingroup$
It's additional notation. Just use a different letter and set it equal to the original. Not that hard.
$endgroup$
– Jim
May 7 '13 at 15:49
add a comment |
Thanks for contributing an answer to Mathematics Stack Exchange!
- Please be sure to answer the question. Provide details and share your research!
But avoid …
- Asking for help, clarification, or responding to other answers.
- Making statements based on opinion; back them up with references or personal experience.
Use MathJax to format equations. MathJax reference.
To learn more, see our tips on writing great answers.
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fmath.stackexchange.com%2fquestions%2f384153%2fmatrix-rows-notation%23new-answer', 'question_page');
}
);
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
$begingroup$
What about $mathbf{W}_{ibullet}$ for the $i$th row?
$endgroup$
– Raskolnikov
May 7 '13 at 6:23
1
$begingroup$
Since I'm writing vectors in lower case I would write matrix rows as $mathbf{w}_{j*}$ for $j = 1, ldots, N$. However, I'm not sure if this dot or star symbol is a valid math notation.
$endgroup$
– Robinaut
May 7 '13 at 7:06
1
$begingroup$
It's very common. But even if it wasn't, you can always invent your own notation, as long as you define it so that readers know.
$endgroup$
– Raskolnikov
May 7 '13 at 7:15