operator vs operation vs function vs procedure vs algorithm











up vote
4
down vote

favorite












I have a vague understanding of what operator, operation, function, procedure, algorithm mean in general. I am heavily biased towards computer science.



Do you agree with them? What are the generally accepted definitions that are independent of a specific field of math?



Operator is more abstract than either function or procedure; since you can add numbers,vectors,matrices,functions,sequences,etc each requireing a different procedure, but the abstract operator always has the properties of associativity ,commutativity; and function is the association between input and output ignoring the "how" and space/time complexity of procedure, but is still specific to the type of thte input and output.




  • operator: set of algebraic properties and an associated symbol that we may use for any function that obeys all those properties


  • function: subset of cartesian product of two sets such that no element of first set is used more than once


  • operation: function of kind (S,S)->S


  • procedure or algorithm: description of how to compute the dependent variable of a function when given the independent(s) and has a time/space complexity











share|cite|improve this question






















  • I don't have a clear opinion on all of these, but I would say that "taking the negative of a number" is also an operation, but not of the form in your 4th point.
    – Michael Bächtold
    Mar 10 at 10:19










  • There are separate questions across the site for some pairs in your question, like "operator vs. function". I would recommend looking for them and editing your question a bit with what you're still wondering.
    – Mark S.
    Sep 8 at 18:37















up vote
4
down vote

favorite












I have a vague understanding of what operator, operation, function, procedure, algorithm mean in general. I am heavily biased towards computer science.



Do you agree with them? What are the generally accepted definitions that are independent of a specific field of math?



Operator is more abstract than either function or procedure; since you can add numbers,vectors,matrices,functions,sequences,etc each requireing a different procedure, but the abstract operator always has the properties of associativity ,commutativity; and function is the association between input and output ignoring the "how" and space/time complexity of procedure, but is still specific to the type of thte input and output.




  • operator: set of algebraic properties and an associated symbol that we may use for any function that obeys all those properties


  • function: subset of cartesian product of two sets such that no element of first set is used more than once


  • operation: function of kind (S,S)->S


  • procedure or algorithm: description of how to compute the dependent variable of a function when given the independent(s) and has a time/space complexity











share|cite|improve this question






















  • I don't have a clear opinion on all of these, but I would say that "taking the negative of a number" is also an operation, but not of the form in your 4th point.
    – Michael Bächtold
    Mar 10 at 10:19










  • There are separate questions across the site for some pairs in your question, like "operator vs. function". I would recommend looking for them and editing your question a bit with what you're still wondering.
    – Mark S.
    Sep 8 at 18:37













up vote
4
down vote

favorite









up vote
4
down vote

favorite











I have a vague understanding of what operator, operation, function, procedure, algorithm mean in general. I am heavily biased towards computer science.



Do you agree with them? What are the generally accepted definitions that are independent of a specific field of math?



Operator is more abstract than either function or procedure; since you can add numbers,vectors,matrices,functions,sequences,etc each requireing a different procedure, but the abstract operator always has the properties of associativity ,commutativity; and function is the association between input and output ignoring the "how" and space/time complexity of procedure, but is still specific to the type of thte input and output.




  • operator: set of algebraic properties and an associated symbol that we may use for any function that obeys all those properties


  • function: subset of cartesian product of two sets such that no element of first set is used more than once


  • operation: function of kind (S,S)->S


  • procedure or algorithm: description of how to compute the dependent variable of a function when given the independent(s) and has a time/space complexity











share|cite|improve this question













I have a vague understanding of what operator, operation, function, procedure, algorithm mean in general. I am heavily biased towards computer science.



Do you agree with them? What are the generally accepted definitions that are independent of a specific field of math?



Operator is more abstract than either function or procedure; since you can add numbers,vectors,matrices,functions,sequences,etc each requireing a different procedure, but the abstract operator always has the properties of associativity ,commutativity; and function is the association between input and output ignoring the "how" and space/time complexity of procedure, but is still specific to the type of thte input and output.




  • operator: set of algebraic properties and an associated symbol that we may use for any function that obeys all those properties


  • function: subset of cartesian product of two sets such that no element of first set is used more than once


  • operation: function of kind (S,S)->S


  • procedure or algorithm: description of how to compute the dependent variable of a function when given the independent(s) and has a time/space complexity








functions algorithms terminology computer-science






share|cite|improve this question













share|cite|improve this question











share|cite|improve this question




share|cite|improve this question










asked Sep 5 '14 at 17:43









foobar

212




212












  • I don't have a clear opinion on all of these, but I would say that "taking the negative of a number" is also an operation, but not of the form in your 4th point.
    – Michael Bächtold
    Mar 10 at 10:19










  • There are separate questions across the site for some pairs in your question, like "operator vs. function". I would recommend looking for them and editing your question a bit with what you're still wondering.
    – Mark S.
    Sep 8 at 18:37


















  • I don't have a clear opinion on all of these, but I would say that "taking the negative of a number" is also an operation, but not of the form in your 4th point.
    – Michael Bächtold
    Mar 10 at 10:19










  • There are separate questions across the site for some pairs in your question, like "operator vs. function". I would recommend looking for them and editing your question a bit with what you're still wondering.
    – Mark S.
    Sep 8 at 18:37
















I don't have a clear opinion on all of these, but I would say that "taking the negative of a number" is also an operation, but not of the form in your 4th point.
– Michael Bächtold
Mar 10 at 10:19




I don't have a clear opinion on all of these, but I would say that "taking the negative of a number" is also an operation, but not of the form in your 4th point.
– Michael Bächtold
Mar 10 at 10:19












There are separate questions across the site for some pairs in your question, like "operator vs. function". I would recommend looking for them and editing your question a bit with what you're still wondering.
– Mark S.
Sep 8 at 18:37




There are separate questions across the site for some pairs in your question, like "operator vs. function". I would recommend looking for them and editing your question a bit with what you're still wondering.
– Mark S.
Sep 8 at 18:37










2 Answers
2






active

oldest

votes

















up vote
0
down vote













There does not seem to be a very hard and fast set of definitions for these. I might note however that the domain and codomain are part of a function's definition, as well as the set of ordered pairs. One can even see books where a function does not have to be "defined" for a value of its domain.
The word operation refers to the function, and often operator refers to a symbol that can be used to denote the operation. I think you should write SxS->S instead of (S,S)->S.






share|cite|improve this answer




























    up vote
    0
    down vote













    So this is a question of English more so than anything.



    There are contexts where any 2 or sometimes even more of these words all mean the same thing, and there are contexts where they are different. What I’ll do is for each word state it’s most common context (and Full disclosure this come with all my biases) and what it’s mean there:



    Function: A set of pairs constructed from two sets called the domain and codomain. Where the function can be seen as a abstract (meaning “imagined” here) machine that consumes values from the domain and produces values from the codomain.



    Operator: usually in higher math and physics contexts is a function whose domain includes other functions. Computer Scientists call these “higher order functions”



    Algorithm: A function with a well defined abstract I mplementation. Rather than just being a set theoretic invention (i.e a set of pairs as functions are generally defined), algorithms are functions whose internal operation/ calculation has a story. In the earlier analogy from functions, the abstract machines of algorithms can actually picked apart and described. Its possible to talk about how long the machine runs, what subcomponents it has, how much space it uses etc...



    Procedure: a super set of Algorithm, procedures don’t have a connotation of mapping inputs to outputs, although they can if you want.



    Operation: a substitute for the word function usually used when you want to treat the function as a single atomic object. Ex: order of operations (here functions are the little things, and we are looking at a larger idea of how to evaluate them, what order, etc...). Another example: Quicksort takes O(n log n) floating point operations on randomized inputs. Here operation is short hand for: addition, subtraction, division, multiplication, comparison. But those functions and their inputs (integers) really aren’t the main point. The main point is we want to count how many times we do them, so we call them operations to make this context clear.



    Now remember, if you put any amount of effort you will find situations where these distinctions are blurred and these words replace each other.



    This is just a casual heuristic that I think will serve as a good rule of thimb.






    share|cite|improve this answer





















      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',
      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%2f920699%2foperator-vs-operation-vs-function-vs-procedure-vs-algorithm%23new-answer', 'question_page');
      }
      );

      Post as a guest















      Required, but never shown

























      2 Answers
      2






      active

      oldest

      votes








      2 Answers
      2






      active

      oldest

      votes









      active

      oldest

      votes






      active

      oldest

      votes








      up vote
      0
      down vote













      There does not seem to be a very hard and fast set of definitions for these. I might note however that the domain and codomain are part of a function's definition, as well as the set of ordered pairs. One can even see books where a function does not have to be "defined" for a value of its domain.
      The word operation refers to the function, and often operator refers to a symbol that can be used to denote the operation. I think you should write SxS->S instead of (S,S)->S.






      share|cite|improve this answer

























        up vote
        0
        down vote













        There does not seem to be a very hard and fast set of definitions for these. I might note however that the domain and codomain are part of a function's definition, as well as the set of ordered pairs. One can even see books where a function does not have to be "defined" for a value of its domain.
        The word operation refers to the function, and often operator refers to a symbol that can be used to denote the operation. I think you should write SxS->S instead of (S,S)->S.






        share|cite|improve this answer























          up vote
          0
          down vote










          up vote
          0
          down vote









          There does not seem to be a very hard and fast set of definitions for these. I might note however that the domain and codomain are part of a function's definition, as well as the set of ordered pairs. One can even see books where a function does not have to be "defined" for a value of its domain.
          The word operation refers to the function, and often operator refers to a symbol that can be used to denote the operation. I think you should write SxS->S instead of (S,S)->S.






          share|cite|improve this answer












          There does not seem to be a very hard and fast set of definitions for these. I might note however that the domain and codomain are part of a function's definition, as well as the set of ordered pairs. One can even see books where a function does not have to be "defined" for a value of its domain.
          The word operation refers to the function, and often operator refers to a symbol that can be used to denote the operation. I think you should write SxS->S instead of (S,S)->S.







          share|cite|improve this answer












          share|cite|improve this answer



          share|cite|improve this answer










          answered Mar 6 '17 at 21:03









          user1741137

          1013




          1013






















              up vote
              0
              down vote













              So this is a question of English more so than anything.



              There are contexts where any 2 or sometimes even more of these words all mean the same thing, and there are contexts where they are different. What I’ll do is for each word state it’s most common context (and Full disclosure this come with all my biases) and what it’s mean there:



              Function: A set of pairs constructed from two sets called the domain and codomain. Where the function can be seen as a abstract (meaning “imagined” here) machine that consumes values from the domain and produces values from the codomain.



              Operator: usually in higher math and physics contexts is a function whose domain includes other functions. Computer Scientists call these “higher order functions”



              Algorithm: A function with a well defined abstract I mplementation. Rather than just being a set theoretic invention (i.e a set of pairs as functions are generally defined), algorithms are functions whose internal operation/ calculation has a story. In the earlier analogy from functions, the abstract machines of algorithms can actually picked apart and described. Its possible to talk about how long the machine runs, what subcomponents it has, how much space it uses etc...



              Procedure: a super set of Algorithm, procedures don’t have a connotation of mapping inputs to outputs, although they can if you want.



              Operation: a substitute for the word function usually used when you want to treat the function as a single atomic object. Ex: order of operations (here functions are the little things, and we are looking at a larger idea of how to evaluate them, what order, etc...). Another example: Quicksort takes O(n log n) floating point operations on randomized inputs. Here operation is short hand for: addition, subtraction, division, multiplication, comparison. But those functions and their inputs (integers) really aren’t the main point. The main point is we want to count how many times we do them, so we call them operations to make this context clear.



              Now remember, if you put any amount of effort you will find situations where these distinctions are blurred and these words replace each other.



              This is just a casual heuristic that I think will serve as a good rule of thimb.






              share|cite|improve this answer

























                up vote
                0
                down vote













                So this is a question of English more so than anything.



                There are contexts where any 2 or sometimes even more of these words all mean the same thing, and there are contexts where they are different. What I’ll do is for each word state it’s most common context (and Full disclosure this come with all my biases) and what it’s mean there:



                Function: A set of pairs constructed from two sets called the domain and codomain. Where the function can be seen as a abstract (meaning “imagined” here) machine that consumes values from the domain and produces values from the codomain.



                Operator: usually in higher math and physics contexts is a function whose domain includes other functions. Computer Scientists call these “higher order functions”



                Algorithm: A function with a well defined abstract I mplementation. Rather than just being a set theoretic invention (i.e a set of pairs as functions are generally defined), algorithms are functions whose internal operation/ calculation has a story. In the earlier analogy from functions, the abstract machines of algorithms can actually picked apart and described. Its possible to talk about how long the machine runs, what subcomponents it has, how much space it uses etc...



                Procedure: a super set of Algorithm, procedures don’t have a connotation of mapping inputs to outputs, although they can if you want.



                Operation: a substitute for the word function usually used when you want to treat the function as a single atomic object. Ex: order of operations (here functions are the little things, and we are looking at a larger idea of how to evaluate them, what order, etc...). Another example: Quicksort takes O(n log n) floating point operations on randomized inputs. Here operation is short hand for: addition, subtraction, division, multiplication, comparison. But those functions and their inputs (integers) really aren’t the main point. The main point is we want to count how many times we do them, so we call them operations to make this context clear.



                Now remember, if you put any amount of effort you will find situations where these distinctions are blurred and these words replace each other.



                This is just a casual heuristic that I think will serve as a good rule of thimb.






                share|cite|improve this answer























                  up vote
                  0
                  down vote










                  up vote
                  0
                  down vote









                  So this is a question of English more so than anything.



                  There are contexts where any 2 or sometimes even more of these words all mean the same thing, and there are contexts where they are different. What I’ll do is for each word state it’s most common context (and Full disclosure this come with all my biases) and what it’s mean there:



                  Function: A set of pairs constructed from two sets called the domain and codomain. Where the function can be seen as a abstract (meaning “imagined” here) machine that consumes values from the domain and produces values from the codomain.



                  Operator: usually in higher math and physics contexts is a function whose domain includes other functions. Computer Scientists call these “higher order functions”



                  Algorithm: A function with a well defined abstract I mplementation. Rather than just being a set theoretic invention (i.e a set of pairs as functions are generally defined), algorithms are functions whose internal operation/ calculation has a story. In the earlier analogy from functions, the abstract machines of algorithms can actually picked apart and described. Its possible to talk about how long the machine runs, what subcomponents it has, how much space it uses etc...



                  Procedure: a super set of Algorithm, procedures don’t have a connotation of mapping inputs to outputs, although they can if you want.



                  Operation: a substitute for the word function usually used when you want to treat the function as a single atomic object. Ex: order of operations (here functions are the little things, and we are looking at a larger idea of how to evaluate them, what order, etc...). Another example: Quicksort takes O(n log n) floating point operations on randomized inputs. Here operation is short hand for: addition, subtraction, division, multiplication, comparison. But those functions and their inputs (integers) really aren’t the main point. The main point is we want to count how many times we do them, so we call them operations to make this context clear.



                  Now remember, if you put any amount of effort you will find situations where these distinctions are blurred and these words replace each other.



                  This is just a casual heuristic that I think will serve as a good rule of thimb.






                  share|cite|improve this answer












                  So this is a question of English more so than anything.



                  There are contexts where any 2 or sometimes even more of these words all mean the same thing, and there are contexts where they are different. What I’ll do is for each word state it’s most common context (and Full disclosure this come with all my biases) and what it’s mean there:



                  Function: A set of pairs constructed from two sets called the domain and codomain. Where the function can be seen as a abstract (meaning “imagined” here) machine that consumes values from the domain and produces values from the codomain.



                  Operator: usually in higher math and physics contexts is a function whose domain includes other functions. Computer Scientists call these “higher order functions”



                  Algorithm: A function with a well defined abstract I mplementation. Rather than just being a set theoretic invention (i.e a set of pairs as functions are generally defined), algorithms are functions whose internal operation/ calculation has a story. In the earlier analogy from functions, the abstract machines of algorithms can actually picked apart and described. Its possible to talk about how long the machine runs, what subcomponents it has, how much space it uses etc...



                  Procedure: a super set of Algorithm, procedures don’t have a connotation of mapping inputs to outputs, although they can if you want.



                  Operation: a substitute for the word function usually used when you want to treat the function as a single atomic object. Ex: order of operations (here functions are the little things, and we are looking at a larger idea of how to evaluate them, what order, etc...). Another example: Quicksort takes O(n log n) floating point operations on randomized inputs. Here operation is short hand for: addition, subtraction, division, multiplication, comparison. But those functions and their inputs (integers) really aren’t the main point. The main point is we want to count how many times we do them, so we call them operations to make this context clear.



                  Now remember, if you put any amount of effort you will find situations where these distinctions are blurred and these words replace each other.



                  This is just a casual heuristic that I think will serve as a good rule of thimb.







                  share|cite|improve this answer












                  share|cite|improve this answer



                  share|cite|improve this answer










                  answered Jul 6 at 3:10









                  frogeyedpeas

                  7,28571849




                  7,28571849






























                       

                      draft saved


                      draft discarded



















































                       


                      draft saved


                      draft discarded














                      StackExchange.ready(
                      function () {
                      StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fmath.stackexchange.com%2fquestions%2f920699%2foperator-vs-operation-vs-function-vs-procedure-vs-algorithm%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

                      Biblatex bibliography style without URLs when DOI exists (in Overleaf with Zotero bibliography)

                      ComboBox Display Member on multiple fields

                      Is it possible to collect Nectar points via Trainline?