How best to denote an elementwise function of a vector?
$begingroup$
Consider a vector $pmb{v}=(v_1, v_2...,v_n) in mathbb{R}^n$ and a function $f: mathbb{R} to mathbb{R} $. What is the best way to denote the vector $(f(v_1), f(v_2)....,f(v_n))$?
Writing $f(pmb{v})$ isn't exactly correct as $f$ is not $mathbb{R}^n to mathbb{R}^n$.
Edit: Based on comment below - imagine dimension of $pmb{v}$ here is not known ahead of time.
notation
$endgroup$
add a comment |
$begingroup$
Consider a vector $pmb{v}=(v_1, v_2...,v_n) in mathbb{R}^n$ and a function $f: mathbb{R} to mathbb{R} $. What is the best way to denote the vector $(f(v_1), f(v_2)....,f(v_n))$?
Writing $f(pmb{v})$ isn't exactly correct as $f$ is not $mathbb{R}^n to mathbb{R}^n$.
Edit: Based on comment below - imagine dimension of $pmb{v}$ here is not known ahead of time.
notation
$endgroup$
1
$begingroup$
You could define $g:Bbb R^ntoBbb R^n text{via} g((v_1,v_2,...,v_n))=(f(v_1),f(v_2),...,f(v_n))$ and write $g(mathbf v)$ for future usage?
$endgroup$
– Shubham Johri
Jan 7 at 18:57
$begingroup$
Issue is that the length of vector $pmb{v}$ is not known ahead of time. I can certainly get around writing the longform vector repeatedly by just redefining things, but would be good to know a proper way of denoting this stuff. It is not uncommon.
$endgroup$
– ste_kwr
Jan 7 at 19:16
$begingroup$
Is that an issue? Just change the domain and codomain of $g$ to the set of tuples.
$endgroup$
– Shubham Johri
Jan 7 at 19:23
$begingroup$
Agreed, no. But was hoping to see if there was a simpler, somewhat standardized way to do this.
$endgroup$
– ste_kwr
Jan 8 at 19:00
add a comment |
$begingroup$
Consider a vector $pmb{v}=(v_1, v_2...,v_n) in mathbb{R}^n$ and a function $f: mathbb{R} to mathbb{R} $. What is the best way to denote the vector $(f(v_1), f(v_2)....,f(v_n))$?
Writing $f(pmb{v})$ isn't exactly correct as $f$ is not $mathbb{R}^n to mathbb{R}^n$.
Edit: Based on comment below - imagine dimension of $pmb{v}$ here is not known ahead of time.
notation
$endgroup$
Consider a vector $pmb{v}=(v_1, v_2...,v_n) in mathbb{R}^n$ and a function $f: mathbb{R} to mathbb{R} $. What is the best way to denote the vector $(f(v_1), f(v_2)....,f(v_n))$?
Writing $f(pmb{v})$ isn't exactly correct as $f$ is not $mathbb{R}^n to mathbb{R}^n$.
Edit: Based on comment below - imagine dimension of $pmb{v}$ here is not known ahead of time.
notation
notation
edited Jan 7 at 19:31
EdOverflow
25519
25519
asked Jan 7 at 18:45
ste_kwrste_kwr
151111
151111
1
$begingroup$
You could define $g:Bbb R^ntoBbb R^n text{via} g((v_1,v_2,...,v_n))=(f(v_1),f(v_2),...,f(v_n))$ and write $g(mathbf v)$ for future usage?
$endgroup$
– Shubham Johri
Jan 7 at 18:57
$begingroup$
Issue is that the length of vector $pmb{v}$ is not known ahead of time. I can certainly get around writing the longform vector repeatedly by just redefining things, but would be good to know a proper way of denoting this stuff. It is not uncommon.
$endgroup$
– ste_kwr
Jan 7 at 19:16
$begingroup$
Is that an issue? Just change the domain and codomain of $g$ to the set of tuples.
$endgroup$
– Shubham Johri
Jan 7 at 19:23
$begingroup$
Agreed, no. But was hoping to see if there was a simpler, somewhat standardized way to do this.
$endgroup$
– ste_kwr
Jan 8 at 19:00
add a comment |
1
$begingroup$
You could define $g:Bbb R^ntoBbb R^n text{via} g((v_1,v_2,...,v_n))=(f(v_1),f(v_2),...,f(v_n))$ and write $g(mathbf v)$ for future usage?
$endgroup$
– Shubham Johri
Jan 7 at 18:57
$begingroup$
Issue is that the length of vector $pmb{v}$ is not known ahead of time. I can certainly get around writing the longform vector repeatedly by just redefining things, but would be good to know a proper way of denoting this stuff. It is not uncommon.
$endgroup$
– ste_kwr
Jan 7 at 19:16
$begingroup$
Is that an issue? Just change the domain and codomain of $g$ to the set of tuples.
$endgroup$
– Shubham Johri
Jan 7 at 19:23
$begingroup$
Agreed, no. But was hoping to see if there was a simpler, somewhat standardized way to do this.
$endgroup$
– ste_kwr
Jan 8 at 19:00
1
1
$begingroup$
You could define $g:Bbb R^ntoBbb R^n text{via} g((v_1,v_2,...,v_n))=(f(v_1),f(v_2),...,f(v_n))$ and write $g(mathbf v)$ for future usage?
$endgroup$
– Shubham Johri
Jan 7 at 18:57
$begingroup$
You could define $g:Bbb R^ntoBbb R^n text{via} g((v_1,v_2,...,v_n))=(f(v_1),f(v_2),...,f(v_n))$ and write $g(mathbf v)$ for future usage?
$endgroup$
– Shubham Johri
Jan 7 at 18:57
$begingroup$
Issue is that the length of vector $pmb{v}$ is not known ahead of time. I can certainly get around writing the longform vector repeatedly by just redefining things, but would be good to know a proper way of denoting this stuff. It is not uncommon.
$endgroup$
– ste_kwr
Jan 7 at 19:16
$begingroup$
Issue is that the length of vector $pmb{v}$ is not known ahead of time. I can certainly get around writing the longform vector repeatedly by just redefining things, but would be good to know a proper way of denoting this stuff. It is not uncommon.
$endgroup$
– ste_kwr
Jan 7 at 19:16
$begingroup$
Is that an issue? Just change the domain and codomain of $g$ to the set of tuples.
$endgroup$
– Shubham Johri
Jan 7 at 19:23
$begingroup$
Is that an issue? Just change the domain and codomain of $g$ to the set of tuples.
$endgroup$
– Shubham Johri
Jan 7 at 19:23
$begingroup$
Agreed, no. But was hoping to see if there was a simpler, somewhat standardized way to do this.
$endgroup$
– ste_kwr
Jan 8 at 19:00
$begingroup$
Agreed, no. But was hoping to see if there was a simpler, somewhat standardized way to do this.
$endgroup$
– ste_kwr
Jan 8 at 19:00
add a comment |
1 Answer
1
active
oldest
votes
$begingroup$
You can handle this many ways. There is no consistent notation for this. Books and many programming lanuages handle it differently.
You pointed with $f(v)$ already a nice way out. It is just important to be clear on the notation, that means if it is not 100% obvious in the context define it that way.
$endgroup$
add a comment |
Your Answer
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%2f3065330%2fhow-best-to-denote-an-elementwise-function-of-a-vector%23new-answer', 'question_page');
}
);
Post as a guest
Required, but never shown
1 Answer
1
active
oldest
votes
1 Answer
1
active
oldest
votes
active
oldest
votes
active
oldest
votes
$begingroup$
You can handle this many ways. There is no consistent notation for this. Books and many programming lanuages handle it differently.
You pointed with $f(v)$ already a nice way out. It is just important to be clear on the notation, that means if it is not 100% obvious in the context define it that way.
$endgroup$
add a comment |
$begingroup$
You can handle this many ways. There is no consistent notation for this. Books and many programming lanuages handle it differently.
You pointed with $f(v)$ already a nice way out. It is just important to be clear on the notation, that means if it is not 100% obvious in the context define it that way.
$endgroup$
add a comment |
$begingroup$
You can handle this many ways. There is no consistent notation for this. Books and many programming lanuages handle it differently.
You pointed with $f(v)$ already a nice way out. It is just important to be clear on the notation, that means if it is not 100% obvious in the context define it that way.
$endgroup$
You can handle this many ways. There is no consistent notation for this. Books and many programming lanuages handle it differently.
You pointed with $f(v)$ already a nice way out. It is just important to be clear on the notation, that means if it is not 100% obvious in the context define it that way.
answered Jan 7 at 19:34
TimmathstfTimmathstf
307
307
add a comment |
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%2f3065330%2fhow-best-to-denote-an-elementwise-function-of-a-vector%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
1
$begingroup$
You could define $g:Bbb R^ntoBbb R^n text{via} g((v_1,v_2,...,v_n))=(f(v_1),f(v_2),...,f(v_n))$ and write $g(mathbf v)$ for future usage?
$endgroup$
– Shubham Johri
Jan 7 at 18:57
$begingroup$
Issue is that the length of vector $pmb{v}$ is not known ahead of time. I can certainly get around writing the longform vector repeatedly by just redefining things, but would be good to know a proper way of denoting this stuff. It is not uncommon.
$endgroup$
– ste_kwr
Jan 7 at 19:16
$begingroup$
Is that an issue? Just change the domain and codomain of $g$ to the set of tuples.
$endgroup$
– Shubham Johri
Jan 7 at 19:23
$begingroup$
Agreed, no. But was hoping to see if there was a simpler, somewhat standardized way to do this.
$endgroup$
– ste_kwr
Jan 8 at 19:00