How best to denote an elementwise function of a vector?












1












$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.










share|cite|improve this question











$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
















1












$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.










share|cite|improve this question











$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














1












1








1





$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.










share|cite|improve this question











$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






share|cite|improve this question















share|cite|improve this question













share|cite|improve this question




share|cite|improve this question








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














  • 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










1 Answer
1






active

oldest

votes


















0












$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.






share|cite|improve this answer









$endgroup$














    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
    });


    }
    });














    draft saved

    draft discarded


















    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









    0












    $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.






    share|cite|improve this answer









    $endgroup$


















      0












      $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.






      share|cite|improve this answer









      $endgroup$
















        0












        0








        0





        $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.






        share|cite|improve this answer









        $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.







        share|cite|improve this answer












        share|cite|improve this answer



        share|cite|improve this answer










        answered Jan 7 at 19:34









        TimmathstfTimmathstf

        307




        307






























            draft saved

            draft discarded




















































            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.




            draft saved


            draft discarded














            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





















































            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







            Popular posts from this blog

            Wiesbaden

            Marschland

            Dieringhausen