함수
개요
- 함수와 관련된 기본적인 개념과 수학에서 가장 기본적인 함수 몇가지를 배움.
배우기 전에 알고 있어야 하는 것들
- 기초적인 집합의 개념
중요한 개념 및 정리
초등함수의 예
메모
Early attempts to define a function were made by James Gregory (1687), Euler (1748), and, later in the 18th century, by La Croix, Lagrange, and d'Alembert.
All these attempts were intuitive, rough-and-ready affairs and none gained acceptance. Fourier and Cauchy, both around 1820, offered improved versions;
finally Dirichlet in 1837 identified the essential property of uniqueness": y is a function of x when to each value of x in a given interval there correspond as unique value of y". This is not quite the end of the story, of course;in time it became apparentt.
- [Atkinson2002]
관련논문
- [Atkinson2002]Where Do Functions Come from? Leigh Atkinson, The College Mathematics Journal, Vol. 33, No. 2 (Mar., 2002), pp. 107-112
- Evolution of the Function Concept: A Brief Survey Israel Kleiner, The College Mathematics Journal, Vol. 20, No. 4 (Sep., 1989), pp. 282-300
- An Introduction to Logarithms F. G. Brown, The Mathematical Gazette, Vol. 11, No. 160 (Oct., 1922), pp. 164-166
- A Brief History of Logarithms R. C. Pierce, Jr., The Two-Year College Mathematics Journal, Vol. 8, No. 1 (Jan., 1977), pp. 22-26
- History of the Exponential and Logarithmic Concepts Florian Cajori, The American Mathematical Monthly, Vol. 20, No. 1 (Jan., 1913), pp. 5-14
관련기사
- 네이버 뉴스 검색 (키워드 수정)
- http://news.search.naver.com/search.naver?where=news&x=0&y=0&sm=tab_hty&query=함수
- http://news.search.naver.com/search.naver?where=news&x=0&y=0&sm=tab_hty&query=에프엑스
- http://news.search.naver.com/search.naver?where=news&x=0&y=0&sm=tab_hty&query=
- http://news.search.naver.com/search.naver?where=news&x=0&y=0&sm=tab_hty&query=
노트
- You do not need to do anything special to use subroutines from the Standard C library (libc.a).[1]
- The cc command automatically searches this library for subroutines that a program needs.[1]
- However, if you use subroutines from another library, you must tell the compiler to search that library.[1]
- If your program uses subroutines from the library libname.a, compile your program with the flag -lname (lowercase L).[1]
- AcknowledgeAllAlarms Subroutine Acknowledges alarms for all tags in the specified Picture.[2]
- The subroutine will also acknowledge the alarm associated with this block.[2]
- The subroutine will acknowledge other alarms, but not the alarm associated with this block.[2]
- (default) – Allows the subroutines to provide the error messages.[2]
- PURE Asserts that the procedure has no side effects.[3]
- A subroutine is invoked by a CALL statement or defined assignment.[3]
- A subroutine subprogram cannot contain a FUNCTION statement, a BLOCK DATA statement, a PROGRAM statement, or another SUBROUTINE statement.[3]
- But, as other languages do, Perl has the ability to make subroutines, which are user-defined functions.[4]
- As you may have noticed in the previous example, you may use any global variables within the subroutine body.[4]
- Most often, you refer to the invocation as simply calling the subroutine.[4]
- You always invoke a subroutine as part of an expression, even if you don’t use the result of the expression.[4]
- You can divide up your code into separate subroutines.[5]
- In versions of Perl before 5.0, the syntax for calling subroutines was slightly different as shown below.[5]
- Because the @_ variable is an array, it can be used to supply lists to a subroutine.[5]
- You can return a value from subroutine like you do in any other programming language.[5]
- A subroutine is a piece of code that performs a set of actions or calculations, or a combination of the two.[6]
- The programmer has to write a subroutine only once, and it can be called from anywhere within the program as many times as needed.[6]
- You do not have to use the word Call to utilize the subroutine MySub.[6]
- A function is exactly like a subroutine except that it returns a value.[6]
- Subroutines are identified in a program by a unique subroutine label.[7]
- The subroutine keyword defines the action associated with the subroutine label.[7]
- The sub and endsub keywords are used to define the beginning and end a subroutine.[7]
- If the subroutine is defined in the same file as the main program that calls the subroutine, it must be defined before the call statement.[7]
- A subroutine is a block of code that performs a task based on some arguments and optionally returns a result.[8]
- By convention, you use registers R0 to R3 to pass arguments to subroutines, and R0 to pass a result back to the callers.[8]
- To call subroutines, use a branch and link instruction.[8]
- Subroutines - In computer programming, a subroutine is a sequence of program instructions that performs a specific task, packaged as a unit.[9]
- In different programming languages, a subroutine may be called a procedure, a function, a routine, a method, or a subprogram.[9]
- The generic term 'callable unit' is sometimes used.[9]
- In this example: def displayTotal(total): 'total' is a parameter that will be passed to the 'displayTotal' subroutine.[9]
- E very subroutine in Java must be defined inside some class.[10]
- This makes Java rather unusual among programming languages, since most languages allow free-floating, independent subroutines.[10]
- One purpose of a class is to group together related subroutines and variables.[10]
- Static subroutines are easier to understand: In a running program, a static subroutine is a member of the class itself.[10]
- NAME is the name given to the subroutine and must follow the same rules as variables.[11]
- In a subroutine, values are returned via the arguments.[11]
- The number and type of the arguments in the CALLing statement must agree with the number and type of the arguments in the SUBROUTINE.[11]
- The subroutine on the left has no arguments and simply prints out a message when it is called.[11]
- The code for a subroutine can be written to the same file as the calling program.[12]
- In this case the subroutine is linked directly: it is automatically also loaded as the file is read.[12]
- A procedure is a subroutine that performs a specific task.[13]
- When the task is complete, the subroutine ends and the main program continues from where it left off.[13]
- , followed by that subroutine's name.[14]
- Here are a examples: The following is a subroutine called Factorial .[14]
- Subroutines can be internal to a program or a module.[14]
- In Fortran and other programming languages, this corresponds to creating a set of subprograms.[15]
- Fortran subroutines are similar to functions, except that they can return more than one variable or array to the calling program.[15]
- Another difference is that the output values are returned via the arguments to the subroutine.[15]
- A subroutine subprogram must have a SUBROUTINE statement as the first statement.[16]
- Like many languages, Perl provides for user-defined subroutines.[17]
- You can generate anonymous subroutines, accessible only through references.[17]
- The return value of the subroutine (or of any other block, for that matter) is the value of the last expression evaluated.[17]
- Or you may use an explicit return statement to specify the return value and exit the subroutine from any point in the subroutine.[17]
- FlashBASIC or BASIC provides the ability to call subroutines.[18]
- You can write a subroutine in any language that supports subroutines.[19]
- When you write a subroutine you need to consider the requirements and limits that affect it.[19]
- Call subroutine SIMPLE (PRINCPAL, DATE_PUT, YRRATE, TOTAL).[19]
- If you move the SIMPLE subroutine into a file separate from the main program and compile it, you can call the subroutine.[19]
- A subroutine is a user-defined command that can be called to perform a block of logic and optionally return a value.[20]
- ProModel handles subroutines in three ways.[20]
- First, a subroutine may be processed by the calling logic as though the subroutine is part of the calling logic.[20]
- This way is the most commonly used, and is done by simply referencing the subroutine by name in some logic or expression.[20]
- All of these terms refer to a single conceptual object, which, when first invented, was called a subroutine.[21]
- In others, such as C/C++, both types (functions and procedures) are called functions.[21]
- A subroutine is a sequence of instructions that can be called (branched to), causing the sequence of instructions to execute.[21]
- A procedure can have both input and output parameters.[21]
- A subroutine begins with the keyword subroutine followed by the name of the routine and any arguments, and ends with the keyword endsub .[22]
- This subroutine has no arguments so that it will behave identically every time it is used.[22]
- You may use the return command to force EViews to exit from the subroutine at any time.[22]
- A common use of return is to exit from the subroutine if an unanticipated error is detected.[22]
- Subroutines are similar to functions, yet differ from them in several ways.[23]
- Subroutine is invoked using a call statement from anywhere else in your F77 code.[23]
- Keywords subroutine and end are used to define the beginning and end of a subroutine.[23]
- This is very convenient once you want to leave a subroutine in the middle and forget the remaining commands.[23]
- Using subprograms allows you to tackle bite size pieces of a problem individually.[24]
- Subroutines, on the other hand, can return several results.[24]
- As with functions, there are some rules for using subroutines.[24]
- All variables used by the subroutine, including the arguments, must be declared in the subroutine.[24]
- A routine or subroutine, also referred to as a function, procedure, and subprogram, is code called and executed anywhere in a program.[25]
- For example, a routine may be used to save a file or display the time.[25]
- In cases like this, you can create a subroutine.[26]
- A subroutine can save a lot of time not only in writing your scenarios, but also in making your code more flexible and easier to re-use.[26]
- However, if you have put those lines of code into a subroutine, you will only need to update the subroutine.[26]
- In some ways, creating a subroutine is like defining your own method.[26]
- As in the case of modules, import lists serve to document the interface between a subroutine and the rest of the program.[27]
- The only problem is a decision problem: when should a function be implemented as a subroutine and when should it become a coroutine?[28]
- Is one or more internal subprograms (defining internal procedures).[29]
- A subroutine subprogram cannot contain a BLOCK DATA statement, a PROGRAM statement, or a MODULE statement.[29]
- A subroutine can contain SUBROUTINE and FUNCTION statements to define internal procedures.[29]
- A set of Instructions which are used repeatedly in a program can be referred to as Subroutine.[30]
- When a Subroutine is required it can be called many times during the Execution of a Particular program.[30]
- A call Subroutine Instruction calls the Subroutine.[30]
- Subroutine linkage method is a way in which computer call and return the Subroutine.[30]
- In computer programming, a subroutine is a sequence of program instructions that performs a specific task, packaged as a unit.[31]
- Subroutines may be defined within programs, or separately in libraries that can be used by many programs.[31]
- In different programming languages, a subroutine may be called a routine, subprogram, function, method, or procedure.[31]
- The subroutine may return a computed value to its caller (its return value), or provide various result values or output parameters.[31]
- A procedure returns no values and is called in a statement, not an expression.[32]
- The languages use some mechanism like "void context" or employ a special return value like or to make functions look like procedures.[32]
- A subroutine's signature specifies the number, order, names, modes and types of its parameters and return values.[32]
- Should we search in outer scopes, even when subroutines of the same name are "closer" to the call?[32]
소스
- ↑ 이동: 1.0 1.1 1.2 1.3 Chapter 24. Subroutines, Example Programs, and Libraries
- ↑ 이동: 2.0 2.1 2.2 2.3 AcknowledgeAllAlarms Subroutine
- ↑ 이동: 3.0 3.1 3.2 SUBROUTINE
- ↑ 이동: 4.0 4.1 4.2 4.3 Learning Perl, 6th Edition [Book]
- ↑ 이동: 5.0 5.1 5.2 5.3 Tutorialspoint
- ↑ 이동: 6.0 6.1 6.2 6.3 Difference Between Subroutines and Functions
- ↑ 이동: 7.0 7.1 7.2 7.3 SUBROUTINES REFERENCE
- ↑ 이동: 8.0 8.1 8.2 Assembler User Guide: Register usage in subroutine calls
- ↑ 이동: 9.0 9.1 9.2 9.3 3.2.7 Subroutines (Procedures and Functions)
- ↑ 이동: 10.0 10.1 10.2 10.3 Javanotes 8.1, Section 4.2 -- Static Subroutines and Static Variables
- ↑ 이동: 11.0 11.1 11.2 11.3 Subroutines and Functions
- ↑ 이동: 12.0 12.1 Subroutine techniques
- ↑ 이동: 13.0 13.1 Procedures and functions of subroutines
- ↑ 이동: 14.0 14.1 14.2 Designing Subroutines
- ↑ 이동: 15.0 15.1 15.2 Subprograms, functions and subroutines
- ↑ SUBROUTINE (FORTRAN 77 Language Reference)
- ↑ 이동: 17.0 17.1 17.2 17.3 [Chapter 2 2.7 Subroutines]
- ↑ subroutine Statement
- ↑ 이동: 19.0 19.1 19.2 19.3 Writing a Subroutine
- ↑ 이동: 20.0 20.1 20.2 20.3 Subroutines
- ↑ 이동: 21.0 21.1 21.2 21.3 Subroutines
- ↑ 이동: 22.0 22.1 22.2 22.3 EViews Help: Subroutines
- ↑ 이동: 23.0 23.1 23.2 23.3 Structure of subroutine subprograms
- ↑ 이동: 24.0 24.1 24.2 24.3 Functions and Subroutines
- ↑ 이동: 25.0 25.1 What is a Routine and Subroutine?
- ↑ 이동: 26.0 26.1 26.2 26.3 Chapter 7 - Subroutines
- ↑ Subroutines - an overview
- ↑ Subroutine - an overview
- ↑ 이동: 29.0 29.1 29.2 SUBROUTINE
- ↑ 이동: 30.0 30.1 30.2 30.3 Subroutine, Subroutine nesting and Stack memory
- ↑ 이동: 31.0 31.1 31.2 31.3 Subroutine
- ↑ 이동: 32.0 32.1 32.2 32.3 subroutines